Package com.yubico.webauthn.data
Class PublicKeyCredentialParameters
- java.lang.Object
-
- com.yubico.webauthn.data.PublicKeyCredentialParameters
-
public final class PublicKeyCredentialParameters extends java.lang.ObjectUsed to supply additional parameters when creating a new credential.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPublicKeyCredentialParameters.PublicKeyCredentialParametersBuilder
-
Field Summary
Fields Modifier and Type Field Description static PublicKeyCredentialParametersEdDSAAlgorithmCOSEAlgorithmIdentifier.EdDSAand typePublicKeyCredentialType.PUBLIC_KEY.static PublicKeyCredentialParametersES256AlgorithmCOSEAlgorithmIdentifier.ES256and typePublicKeyCredentialType.PUBLIC_KEY.static PublicKeyCredentialParametersRS1AlgorithmCOSEAlgorithmIdentifier.RS1and typePublicKeyCredentialType.PUBLIC_KEY.static PublicKeyCredentialParametersRS256AlgorithmCOSEAlgorithmIdentifier.RS256and typePublicKeyCredentialType.PUBLIC_KEY.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PublicKeyCredentialParameters.PublicKeyCredentialParametersBuilder.MandatoryStagesbuilder()booleanequals(java.lang.Object o)@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()PublicKeyCredentialParameters.PublicKeyCredentialParametersBuildertoBuilder()java.lang.StringtoString()
-
-
-
Field Detail
-
EdDSA
public static final PublicKeyCredentialParameters EdDSA
AlgorithmCOSEAlgorithmIdentifier.EdDSAand typePublicKeyCredentialType.PUBLIC_KEY.
-
ES256
public static final PublicKeyCredentialParameters ES256
AlgorithmCOSEAlgorithmIdentifier.ES256and typePublicKeyCredentialType.PUBLIC_KEY.
-
RS1
public static final PublicKeyCredentialParameters RS1
AlgorithmCOSEAlgorithmIdentifier.RS1and typePublicKeyCredentialType.PUBLIC_KEY.
-
RS256
public static final PublicKeyCredentialParameters RS256
AlgorithmCOSEAlgorithmIdentifier.RS256and typePublicKeyCredentialType.PUBLIC_KEY.
-
-
Method Detail
-
builder
public static PublicKeyCredentialParameters.PublicKeyCredentialParametersBuilder.MandatoryStages builder()
-
toBuilder
public PublicKeyCredentialParameters.PublicKeyCredentialParametersBuilder toBuilder()
-
getAlg
@NonNull public @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.
-
getType
@NonNull public @NonNull PublicKeyCredentialType getType()
Specifies the type of credential to be created.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-