|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.xbill.DNS.security.SIG0Signer
public class SIG0Signer
Creates SIG(0) transaction signatures.
| Constructor Summary | |
|---|---|
SIG0Signer(int algorithm,
PrivateKey privateKey,
Name name,
int keyFootprint)
Creates a new SIG(0) signer object. |
|
SIG0Signer(int algorithm,
PrivateKey privateKey,
Name name,
PublicKey publicKey)
Creates a new SIG(0) signer object. |
|
| Method Summary | |
|---|---|
void |
apply(Message m,
byte[] old)
Appends a SIG(0) signature to the message. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SIG0Signer(int algorithm,
PrivateKey privateKey,
Name name,
int keyFootprint)
algorithm - usually DNSSEC.RSAMD5, DNSSEC.DSA, or DNSSEC.RSASHA1privateKey - signing key (must match algorithm)name - the name of the keykeyFootprint - the key tag
public SIG0Signer(int algorithm,
PrivateKey privateKey,
Name name,
PublicKey publicKey)
| Method Detail |
|---|
public void apply(Message m,
byte[] old)
throws IOException,
SignatureException,
InvalidKeyException,
NoSuchAlgorithmException
m - the messageold - if this message is a response, the original message
IOException
SignatureException
InvalidKeyException
NoSuchAlgorithmException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||