Package com.yubico.webauthn.data
Class PublicKeyCredentialParameters
- java.lang.Object
-
- com.yubico.webauthn.data.PublicKeyCredentialParameters
-
public final class PublicKeyCredentialParameters extends java.lang.Object
Used to supply additional parameters when creating a new credential.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PublicKeyCredentialParameters.PublicKeyCredentialParametersBuilder
-
Field Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PublicKeyCredentialParameters.PublicKeyCredentialParametersBuilder.MandatoryStages
builder()
boolean
equals(java.lang.Object o)
@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()
PublicKeyCredentialParameters.PublicKeyCredentialParametersBuilder
toBuilder()
java.lang.String
toString()
-
-
-
Field Detail
-
EdDSA
public static final PublicKeyCredentialParameters EdDSA
AlgorithmCOSEAlgorithmIdentifier.EdDSA
and typePublicKeyCredentialType.PUBLIC_KEY
.
-
ES256
public static final PublicKeyCredentialParameters ES256
AlgorithmCOSEAlgorithmIdentifier.ES256
and typePublicKeyCredentialType.PUBLIC_KEY
.
-
ES384
public static final PublicKeyCredentialParameters ES384
AlgorithmCOSEAlgorithmIdentifier.ES384
and typePublicKeyCredentialType.PUBLIC_KEY
.
-
ES512
public static final PublicKeyCredentialParameters ES512
AlgorithmCOSEAlgorithmIdentifier.ES512
and typePublicKeyCredentialType.PUBLIC_KEY
.
-
RS1
public static final PublicKeyCredentialParameters RS1
AlgorithmCOSEAlgorithmIdentifier.RS1
and typePublicKeyCredentialType.PUBLIC_KEY
.
-
RS256
public static final PublicKeyCredentialParameters RS256
AlgorithmCOSEAlgorithmIdentifier.RS256
and typePublicKeyCredentialType.PUBLIC_KEY
.
-
RS384
public static final PublicKeyCredentialParameters RS384
AlgorithmCOSEAlgorithmIdentifier.RS384
and typePublicKeyCredentialType.PUBLIC_KEY
.
-
RS512
public static final PublicKeyCredentialParameters RS512
AlgorithmCOSEAlgorithmIdentifier.RS512
and 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:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-