awesn1
Toggle table of contents
0.2.1
common
Target filter
common
Switch theme
Search in API
Skip to content
awesn1
crypto
/
at.asitplus.awesn1.crypto
/
SignatureValue
/
Companion
Companion
object
Companion
:
Asn1Serializable
<
Asn1Primitive
,
SignatureValue
>
(
source
)
Members
Properties
descriptor
Link copied to clipboard
open
override
val
descriptor
:
SerialDescriptor
leading
Tags
Link copied to clipboard
open
override
val
leadingTags
:
Set
<
Asn1Element.Tag
>
Functions
decode
From
Tlv
Link copied to clipboard
open
fun
decodeFromTlv
(
src
:
Asn1Primitive
,
assertTag
:
Asn1Element.Tag
?
)
:
SignatureValue
deserialize
Link copied to clipboard
open
override
fun
deserialize
(
decoder
:
Decoder
)
:
SignatureValue
do
Decode
Link copied to clipboard
open
override
fun
doDecode
(
src
:
Asn1Primitive
)
:
SignatureValue
from
RS
Link copied to clipboard
fun
fromRS
(
r
:
Asn1Integer.Positive
,
s
:
Asn1Integer.Positive
)
:
SignatureValue
Constructs a Signature value from
r
and
s
coordinates (as used by ECDSA, and DSA, for example)
invoke
Link copied to clipboard
operator
fun
invoke
(
rawBitString
:
Asn1BitString
)
:
SignatureValue
serialize
Link copied to clipboard
open
override
fun
serialize
(
encoder
:
Encoder
,
value
:
SignatureValue
)
verify
Tag
Link copied to clipboard
open
fun
verifyTag
(
src
:
Asn1Primitive
,
assertTag
:
Asn1Element.Tag
?
)