public class DSASignature
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static byte[] |
fromDNS(byte[] sig)
Converts the signature field in a SIG record to the
format expected by the DSA verification routines.
|
static byte[] |
toDNS(java.security.interfaces.DSAParams params,
byte[] sig)
Converts the signature generated by DSA signature routines to
the one expected inside an RRSIG/SIG record.
|
public static byte[] fromDNS(byte[] sig)
public static byte[] toDNS(java.security.interfaces.DSAParams params, byte[] sig) throws java.security.SignatureException
java.security.SignatureException