java.lang.Object
io.helidon.common.crypto.Signature
- All Implemented Interfaces:
Digest
The Signature class is used for simplification of the digital signature creation and verification.
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Deprecated.It is strongly recommended not to use this algorithm for signature purposes as stated here RFC6149 - Section 6.static final String
Deprecated.It is strongly recommended not to use this algorithm for signature purposes as stated here RFC6149 - Section 2.static final String
Elliptic curve digital signature algorithm with no digest algorithm.static final String
RSA signature algorithm with no digest algorithm specified.static final String
Elliptic curve digital signature algorithm with SHA1 digest algorithm.static final String
RSA signature algorithm with SHA1 digest algorithm.static final String
Elliptic curve digital signature algorithm with SHA224 digest algorithm.static final String
RSA signature algorithm with SHA224 digest algorithm.static final String
Elliptic curve digital signature algorithm with SHA256 digest algorithm.static final String
RSA signature algorithm with SHA256 digest algorithm.static final String
Elliptic curve digital signature algorithm with SHA384 digest algorithm.static final String
RSA signature algorithm with SHA384 digest algorithm.static final String
RSA signature algorithm with SHA512/224 digest algorithm.static final String
RSA signature algorithm with SHA512/256 digest algorithm.static final String
Elliptic curve digital signature algorithm with SHA512 digest algorithm.static final String
RSA signature algorithm with SHA512 digest algorithm. -
Method Summary
Modifier and TypeMethodDescriptionstatic Signature.Builder
builder()
Create a new builder.digest
(Base64Value value) Create digest of the value.boolean
verify
(Base64Value toVerify, Base64Value digestToVerify) Verify the digest of the value against the provided digest.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.helidon.common.crypto.Digest
digestString, verifyString
-
Field Details
-
ALGORITHM_NONE_RSA
RSA signature algorithm with no digest algorithm specified.
Value is: "NONEwithRSA".- See Also:
-
ALGORITHM_MD2_RSA
Deprecated.It is strongly recommended not to use this algorithm for signature purposes as stated here RFC6149 - Section 6.RSA signature algorithm with MD2 digest algorithm.
Value is: "MD2withRSA".- See Also:
-
ALGORITHM_MD5_RSA
Deprecated.It is strongly recommended not to use this algorithm for signature purposes as stated here RFC6149 - Section 2.RSA signature algorithm with MD5 digest algorithm.
Value is: "MD5withRSA".- See Also:
-
ALGORITHM_SHA1_RSA
RSA signature algorithm with SHA1 digest algorithm.
Value is: "SHA1withRSA".- See Also:
-
ALGORITHM_SHA224_RSA
RSA signature algorithm with SHA224 digest algorithm.
Value is: "SHA224withRSA".- See Also:
-
ALGORITHM_SHA256_RSA
RSA signature algorithm with SHA256 digest algorithm.
Value is: "SHA256withRSA".- See Also:
-
ALGORITHM_SHA384_RSA
RSA signature algorithm with SHA384 digest algorithm.
Value is: "SHA384withRSA".- See Also:
-
ALGORITHM_SHA512_RSA
RSA signature algorithm with SHA512 digest algorithm.
Value is: "SHA512withRSA".- See Also:
-
ALGORITHM_SHA512_224_RSA
RSA signature algorithm with SHA512/224 digest algorithm.
Value is: "SHA512/224withRSA".- See Also:
-
ALGORITHM_SHA512_256_RSA
RSA signature algorithm with SHA512/256 digest algorithm.
Value is: "SHA512/256withRSA".- See Also:
-
ALGORITHM_NONE_ECDSA
Elliptic curve digital signature algorithm with no digest algorithm.
Value is: "NONEwithECDSA".- See Also:
-
ALGORITHM_SHA1_ECDSA
Elliptic curve digital signature algorithm with SHA1 digest algorithm.
Value is: "SHA1withECDSA".- See Also:
-
ALGORITHM_SHA224_ECDSA
Elliptic curve digital signature algorithm with SHA224 digest algorithm.
Value is: "SHA224withECDSA".- See Also:
-
ALGORITHM_SHA256_ECDSA
Elliptic curve digital signature algorithm with SHA256 digest algorithm.
Value is: "SHA256withECDSA".- See Also:
-
ALGORITHM_SHA384_ECDSA
Elliptic curve digital signature algorithm with SHA384 digest algorithm.
Value is: "SHA384withECDSA".- See Also:
-
ALGORITHM_SHA512_ECDSA
Elliptic curve digital signature algorithm with SHA512 digest algorithm.
Value is: "SHA512withECDSA".- See Also:
-
-
Method Details