Interface SignatureVerification
-
- All Known Implementing Classes:
SHA256withECDSASignatureVerification
public interface SignatureVerification
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancheckSignature(X509Certificate attestationCertificate, byte[] signedBytes, byte[] signature)booleancheckSignature(PublicKey publicKey, byte[] signedBytes, byte[] signature)PublicKeydecodePublicKey(byte[] encodedPublicKey)byte[]hash(byte[] bytes)byte[]hash(String str)
-
-
-
Method Detail
-
checkSignature
boolean checkSignature(X509Certificate attestationCertificate, byte[] signedBytes, byte[] signature) throws io.jans.as.model.exception.SignatureException
- Throws:
io.jans.as.model.exception.SignatureException
-
checkSignature
boolean checkSignature(PublicKey publicKey, byte[] signedBytes, byte[] signature) throws io.jans.as.model.exception.SignatureException
- Throws:
io.jans.as.model.exception.SignatureException
-
decodePublicKey
PublicKey decodePublicKey(byte[] encodedPublicKey) throws io.jans.as.model.exception.SignatureException
- Throws:
io.jans.as.model.exception.SignatureException
-
hash
byte[] hash(byte[] bytes)
-
hash
byte[] hash(String str)
-
-