public final class PublicKeyCredentialParameters
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
PublicKeyCredentialParameters.PublicKeyCredentialParametersBuilder |
Modifier and Type | Field and Description |
---|---|
static PublicKeyCredentialParameters |
ES256
Algorithm
COSEAlgorithmIdentifier.ES256 and type PublicKeyCredentialType.PUBLIC_KEY . |
static PublicKeyCredentialParameters |
RS256
Algorithm
COSEAlgorithmIdentifier.RS256 and type PublicKeyCredentialType.PUBLIC_KEY . |
Modifier and Type | Method and 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() |
public static final PublicKeyCredentialParameters ES256
COSEAlgorithmIdentifier.ES256
and type PublicKeyCredentialType.PUBLIC_KEY
.public static final PublicKeyCredentialParameters RS256
COSEAlgorithmIdentifier.RS256
and type PublicKeyCredentialType.PUBLIC_KEY
.public static PublicKeyCredentialParameters.PublicKeyCredentialParametersBuilder.MandatoryStages builder()
public PublicKeyCredentialParameters.PublicKeyCredentialParametersBuilder toBuilder()
@NonNull public @NonNull COSEAlgorithmIdentifier getAlg()
@NonNull public @NonNull PublicKeyCredentialType getType()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object