Package com.yubico.webauthn.data
Class PublicKeyCredentialParameters
java.lang.Object
com.yubico.webauthn.data.PublicKeyCredentialParameters
Used to supply additional parameters when creating a new credential.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Field Summary
Modifier and TypeFieldDescriptionstatic final PublicKeyCredentialParameters
AlgorithmCOSEAlgorithmIdentifier.EdDSA
and typePublicKeyCredentialType.PUBLIC_KEY
.static final PublicKeyCredentialParameters
AlgorithmCOSEAlgorithmIdentifier.ES256
and typePublicKeyCredentialType.PUBLIC_KEY
.static final PublicKeyCredentialParameters
AlgorithmCOSEAlgorithmIdentifier.ES384
and typePublicKeyCredentialType.PUBLIC_KEY
.static final PublicKeyCredentialParameters
AlgorithmCOSEAlgorithmIdentifier.ES512
and typePublicKeyCredentialType.PUBLIC_KEY
.static final PublicKeyCredentialParameters
AlgorithmCOSEAlgorithmIdentifier.RS1
and typePublicKeyCredentialType.PUBLIC_KEY
.static final PublicKeyCredentialParameters
AlgorithmCOSEAlgorithmIdentifier.RS256
and typePublicKeyCredentialType.PUBLIC_KEY
.static final PublicKeyCredentialParameters
AlgorithmCOSEAlgorithmIdentifier.RS384
and typePublicKeyCredentialType.PUBLIC_KEY
.static final PublicKeyCredentialParameters
AlgorithmCOSEAlgorithmIdentifier.RS512
and typePublicKeyCredentialType.PUBLIC_KEY
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
boolean
@NonNull COSEAlgorithmIdentifier
getAlg()
Specifies the cryptographic signature algorithm with which the newly generated credential will be used, and thus also the type of asymmetric key pair to be generated, e.g., RSA or Elliptic Curve.@NonNull PublicKeyCredentialType
getType()
Specifies the type of credential to be created.int
hashCode()
toString()
-
Field Details
-
EdDSA
AlgorithmCOSEAlgorithmIdentifier.EdDSA
and typePublicKeyCredentialType.PUBLIC_KEY
. -
ES256
AlgorithmCOSEAlgorithmIdentifier.ES256
and typePublicKeyCredentialType.PUBLIC_KEY
. -
ES384
AlgorithmCOSEAlgorithmIdentifier.ES384
and typePublicKeyCredentialType.PUBLIC_KEY
. -
ES512
AlgorithmCOSEAlgorithmIdentifier.ES512
and typePublicKeyCredentialType.PUBLIC_KEY
. -
RS1
AlgorithmCOSEAlgorithmIdentifier.RS1
and typePublicKeyCredentialType.PUBLIC_KEY
. -
RS256
AlgorithmCOSEAlgorithmIdentifier.RS256
and typePublicKeyCredentialType.PUBLIC_KEY
. -
RS384
AlgorithmCOSEAlgorithmIdentifier.RS384
and typePublicKeyCredentialType.PUBLIC_KEY
. -
RS512
AlgorithmCOSEAlgorithmIdentifier.RS512
and typePublicKeyCredentialType.PUBLIC_KEY
.
-
-
Method Details
-
builder
public static PublicKeyCredentialParameters.PublicKeyCredentialParametersBuilder.MandatoryStages builder() -
toBuilder
-
getAlg
Specifies the cryptographic signature algorithm with which the newly generated credential will be used, and thus also the type of asymmetric key pair to be generated, e.g., RSA or Elliptic Curve. -
getType
Specifies the type of credential to be created. -
equals
-
hashCode
public int hashCode() -
toString
-