java.lang.Object
com.webauthn4j.data.SignatureAlgorithm
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SignatureAlgorithmEd25519 is only supported on JDK 15 or laterstatic final SignatureAlgorithmstatic final SignatureAlgorithmstatic final SignatureAlgorithmstatic final SignatureAlgorithmstatic final SignatureAlgorithmstatic final SignatureAlgorithmstatic final SignatureAlgorithmstatic final SignatureAlgorithmstatic final SignatureAlgorithmstatic final SignatureAlgorithm -
Method Summary
Modifier and TypeMethodDescriptionstatic SignatureAlgorithmDeprecated.static SignatureAlgorithmboolean@NotNull String@NotNull MessageDigestAlgorithminthashCode()@NotNull StringConvert SignatureAlgorithm into text representation In the earlier implementation, jcaName was used as a serialized text representation directly.toString()
-
Field Details
-
ES256
-
ES384
-
ES512
-
RS1
-
RS256
-
RS384
-
RS512
-
Ed25519
Ed25519 is only supported on JDK 15 or later -
PS256
-
PS384
-
PS512
-
-
Method Details
-
create
Deprecated. -
create
public static SignatureAlgorithm create(@NotNull @NotNull String jcaName, @NotNull @NotNull String messageDigestJcaName) -
serialize
Convert SignatureAlgorithm into text representation In the earlier implementation, jcaName was used as a serialized text representation directly. However, since jcaName of RSA-PSS does not contain the message digest algorithm, a custom string different from jcaName is used.- Returns:
- text representation of SignatureAlgorithm
-
getJcaName
-
getMessageDigestAlgorithm
-
equals
-
hashCode
public int hashCode() -
toString
-