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
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PublicKeyCredentialParametersAlgorithmCOSEAlgorithmIdentifier.EdDSAand typePublicKeyCredentialType.PUBLIC_KEY.static final PublicKeyCredentialParametersAlgorithmCOSEAlgorithmIdentifier.ES256and typePublicKeyCredentialType.PUBLIC_KEY.static final PublicKeyCredentialParametersAlgorithmCOSEAlgorithmIdentifier.ES384and typePublicKeyCredentialType.PUBLIC_KEY.static final PublicKeyCredentialParametersAlgorithmCOSEAlgorithmIdentifier.ES512and typePublicKeyCredentialType.PUBLIC_KEY.static final PublicKeyCredentialParametersAlgorithmCOSEAlgorithmIdentifier.RS1and typePublicKeyCredentialType.PUBLIC_KEY.static final PublicKeyCredentialParametersAlgorithmCOSEAlgorithmIdentifier.RS256and typePublicKeyCredentialType.PUBLIC_KEY.static final PublicKeyCredentialParametersAlgorithmCOSEAlgorithmIdentifier.RS384and typePublicKeyCredentialType.PUBLIC_KEY.static final PublicKeyCredentialParametersAlgorithmCOSEAlgorithmIdentifier.RS512and typePublicKeyCredentialType.PUBLIC_KEY. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()boolean@NonNull COSEAlgorithmIdentifiergetAlg()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 PublicKeyCredentialTypegetType()Specifies the type of credential to be created.inthashCode()toString()
-
Field Details
-
EdDSA
AlgorithmCOSEAlgorithmIdentifier.EdDSAand typePublicKeyCredentialType.PUBLIC_KEY. -
ES256
AlgorithmCOSEAlgorithmIdentifier.ES256and typePublicKeyCredentialType.PUBLIC_KEY. -
ES384
AlgorithmCOSEAlgorithmIdentifier.ES384and typePublicKeyCredentialType.PUBLIC_KEY. -
ES512
AlgorithmCOSEAlgorithmIdentifier.ES512and typePublicKeyCredentialType.PUBLIC_KEY. -
RS1
AlgorithmCOSEAlgorithmIdentifier.RS1and typePublicKeyCredentialType.PUBLIC_KEY. -
RS256
AlgorithmCOSEAlgorithmIdentifier.RS256and typePublicKeyCredentialType.PUBLIC_KEY. -
RS384
AlgorithmCOSEAlgorithmIdentifier.RS384and typePublicKeyCredentialType.PUBLIC_KEY. -
RS512
AlgorithmCOSEAlgorithmIdentifier.RS512and 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
-