Interface SignatureVerification
- All Known Implementing Classes:
SHA256withECDSASignatureVerification
public interface SignatureVerification
-
Method Summary
Modifier and TypeMethodDescriptionboolean
checkSignature
(X509Certificate attestationCertificate, byte[] signedBytes, byte[] signature) boolean
checkSignature
(PublicKey publicKey, byte[] signedBytes, byte[] signature) decodePublicKey
(byte[] encodedPublicKey) byte[]
hash
(byte[] bytes) byte[]
-
Method Details
-
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
-