crypto
Toggle table of contents
0.2.0
common
Target filter
common
Switch theme
Search in API
Skip to content
crypto
crypto
/
at.asitplus.awesn1.crypto
/
EcPrivateKeyInfo
Ec
Private
Key
Info
@
Serializable
(
with
=
EcPrivateKeyInfo.Companion::class
)
open
class
EcPrivateKeyInfo
(
val
version
:
Int
,
val
privateKey
:
ByteArray
,
val
parameters
:
ObjectIdentifier
?
=
null
,
val
publicKey
:
Asn1BitString
?
=
null
)
:
Asn1Encodable
<
Asn1Sequence
>
(
source
)
Members
Constructors
Ec
Private
Key
Info
Link copied to clipboard
constructor
(
version
:
Int
,
privateKey
:
ByteArray
,
parameters
:
ObjectIdentifier
?
=
null
,
publicKey
:
Asn1BitString
?
=
null
)
Types
Companion
Link copied to clipboard
object
Companion
:
Asn1Serializable
<
Asn1Sequence
,
EcPrivateKeyInfo
>
Properties
parameters
Link copied to clipboard
val
parameters
:
ObjectIdentifier
?
private
Key
Link copied to clipboard
val
privateKey
:
ByteArray
public
Key
Link copied to clipboard
val
publicKey
:
Asn1BitString
?
version
Link copied to clipboard
val
version
:
Int
Functions
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