toggle menu
Warden Supreme
0.9.9999
common
switch theme
search in API
supreme-common
/
at.asitplus.attestation.supreme
/
KeyConstraints
/
AlgorithmParameters
Algorithm
Parameters
@
Serializable
sealed
class
AlgorithmParameters
(
source
)
Inheritors
RSA
EC
Members
Types
EC
Link copied to clipboard
@
Serializable
@
SerialName
(
value
=
"EC"
)
class
EC
(
val
curve
:
ECCurve
=
ECCurve.SECP_256_R_1
,
val
digests
:
Set
<
@
Serializable
(
with
=
DigestSerializer::class
)
Digest
>
=
setOf(curve.nativeDigest)
,
val
allowKeyAgreement
:
Boolean
=
false
)
:
KeyConstraints.AlgorithmParameters
RSA
Link copied to clipboard
@
Serializable
@
SerialName
(
value
=
"RSA"
)
class
RSA
(
val
keySize
:
@
Serializable
(
with
=
BitLengthSerializer::class
)
BitLength
,
val
paddings
:
Set
<
RSAPadding
>
=
setOf(RSAPadding.PSS)
,
val
digests
:
Set
<
Digest
>
=
setOf(Digest.SHA256)
,
val
allowDecrypting
:
Boolean
=
false
)
:
KeyConstraints.AlgorithmParameters
Properties
allow
Signing
Link copied to clipboard
abstract
val
allowSigning
:
Boolean
digests
Link copied to clipboard
abstract
val
digests
:
Set
<
Digest
>
Functions
equals
Link copied to clipboard
open
operator override
fun
equals
(
other
:
Any
?
)
:
Boolean
hash
Code
Link copied to clipboard
open
override
fun
hashCode
(
)
:
Int