crypto
Toggle table of contents
0.1.1
common
Target filter
common
Switch theme
Search in API
Skip to content
crypto
crypto
/
at.asitplus.awesn1.crypto
/
Pkcs8PrivateKeyInfo
Pkcs8Private
Key
Info
@
Serializable
(
with
=
Pkcs8PrivateKeyInfo.Companion::class
)
open
class
Pkcs8PrivateKeyInfo
(
val
version
:
Int
,
val
privateKeyAlgorithm
:
Asn1Sequence
,
val
privateKey
:
Asn1Element
,
val
attributes
:
List
<
Asn1Element
>
?
=
null
)
:
Asn1Encodable
<
Asn1Sequence
>
(
source
)
Members
Constructors
Pkcs8Private
Key
Info
Link copied to clipboard
constructor
(
version
:
Int
,
privateKeyAlgorithm
:
Asn1Sequence
,
privateKey
:
Asn1Element
,
attributes
:
List
<
Asn1Element
>
?
=
null
)
Types
Companion
Link copied to clipboard
object
Companion
:
Asn1Serializable
<
Asn1Sequence
,
Pkcs8PrivateKeyInfo
>
Properties
algorithm
Oid
Link copied to clipboard
val
algorithmOid
:
ObjectIdentifier
algorithm
Parameters
Link copied to clipboard
val
algorithmParameters
:
List
<
Asn1Element
>
attributes
Link copied to clipboard
val
attributes
:
List
<
Asn1Element
>
?
private
Key
Link copied to clipboard
val
privateKey
:
Asn1Element
private
Key
Algorithm
Link copied to clipboard
val
privateKeyAlgorithm
:
Asn1Sequence
version
Link copied to clipboard
val
version
:
Int
Functions
decode
Ec
Private
Key
Link copied to clipboard
fun
decodeEcPrivateKey
(
)
:
EcPrivateKeyInfo
decode
Rsa
Private
Key
Link copied to clipboard
fun
decodeRsaPrivateKey
(
)
:
RsaPrivateKeyInfo
encode
To
Tlv
Link copied to clipboard
open
override
fun
encodeToTlv
(
)
:
Asn1Sequence
equals
Link copied to clipboard
open
operator override
fun
equals
(
other
:
Any
?
)
:
Boolean
hash
Code
Link copied to clipboard
open
override
fun
hashCode
(
)
:
Int
pretty
Print
Asn1
Link copied to clipboard
open
fun
prettyPrintAsn1
(
)
:
String
with
Implicit
Tag
Link copied to clipboard
open
infix
fun
withImplicitTag
(
tag
:
Asn1Element.Tag
)
:
Asn1Element
open
infix
fun
withImplicitTag
(
template
:
Asn1Element.Tag.Template
)
:
Asn1Element
open
infix
fun
withImplicitTag
(
tagValue
:
ULong
)
:
Asn1Element