Package org.minidns.dnssec.algorithms
Class JavaSecSignatureVerifier
java.lang.Object
org.minidns.dnssec.algorithms.JavaSecSignatureVerifier
- All Implemented Interfaces:
SignatureVerifier
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract PublicKeygetPublicKey(org.minidns.record.DNSKEY key) protected abstract byte[]getSignature(org.minidns.record.RRSIG rrsig) booleanverify(byte[] content, org.minidns.record.RRSIG rrsig, org.minidns.record.DNSKEY key)
-
Constructor Details
-
JavaSecSignatureVerifier
public JavaSecSignatureVerifier(String keyAlgorithm, String signatureAlgorithm) throws NoSuchAlgorithmException - Throws:
NoSuchAlgorithmException
-
-
Method Details
-
getKeyFactory
-
verify
public boolean verify(byte[] content, org.minidns.record.RRSIG rrsig, org.minidns.record.DNSKEY key) throws DnssecValidationFailedException - Specified by:
verifyin interfaceSignatureVerifier- Throws:
DnssecValidationFailedException
-
getSignature
protected abstract byte[] getSignature(org.minidns.record.RRSIG rrsig) throws DnssecValidationFailedException.DataMalformedException -
getPublicKey
protected abstract PublicKey getPublicKey(org.minidns.record.DNSKEY key) throws DnssecValidationFailedException.DataMalformedException, DnssecValidationFailedException.DnssecInvalidKeySpecException
-