Package org.jose4j.jws
Class EdDsaAlgorithm
java.lang.Object
org.jose4j.jwa.AlgorithmInfo
org.jose4j.jws.BaseSignatureAlgorithm
org.jose4j.jws.EdDsaAlgorithm
- All Implemented Interfaces:
Algorithm
,JsonWebSignatureAlgorithm
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
validatePrivateKey
(PrivateKey privateKey) void
validatePublicKey
(PublicKey publicKey) Methods inherited from class org.jose4j.jws.BaseSignatureAlgorithm
isAvailable, prepareForSign, setAlgorithmParameterSpec, sign, validateSigningKey, validateVerificationKey, verifySignature
Methods inherited from class org.jose4j.jwa.AlgorithmInfo
getAlgorithmIdentifier, getJavaAlgorithm, getKeyPersuasion, getKeyType, setAlgorithmIdentifier, setJavaAlgorithm, setKeyPersuasion, setKeyType, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.jose4j.jwa.Algorithm
getAlgorithmIdentifier, getJavaAlgorithm, getKeyPersuasion, getKeyType
-
Constructor Details
-
EdDsaAlgorithm
public EdDsaAlgorithm()
-
-
Method Details
-
validatePrivateKey
- Specified by:
validatePrivateKey
in classBaseSignatureAlgorithm
- Throws:
InvalidKeyException
-
validatePublicKey
- Specified by:
validatePublicKey
in classBaseSignatureAlgorithm
- Throws:
InvalidKeyException
-