|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.xbill.DNS.security.DSASignature
public class DSASignature
Converts DSA signatures between the RRSIG/SIG record format (as specified in RFC 2536) and the format used by Java DSA routines (DER-encoded).
Method Summary | |
---|---|
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(DSAParams params,
byte[] sig)
Converts the signature generated by DSA signature routines to the one expected inside an RRSIG/SIG record. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static byte[] fromDNS(byte[] sig)
public static byte[] toDNS(DSAParams params, byte[] sig) throws SignatureException
SignatureException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |