| java.lang.Object org.xbill.DNS.security.SIG0Signer
SIG0Signer | public class SIG0Signer (Code) | | Creates SIG(0) transaction signatures.
author: Pasi Eronen author: Brian Wellington |
Method Summary | |
public void | apply(Message m, byte[] old) Appends a SIG(0) signature to the message. |
SIG0Signer | public SIG0Signer(int algorithm, PrivateKey privateKey, Name name, int keyFootprint)(Code) | | Creates a new SIG(0) signer object.
Parameters: algorithm - usually DNSSEC.RSAMD5, DNSSEC.DSA, or DNSSEC.RSASHA1 Parameters: privateKey - signing key (must match algorithm) Parameters: name - the name of the key Parameters: keyFootprint - the key tag |
SIG0Signer | public SIG0Signer(int algorithm, PrivateKey privateKey, Name name, PublicKey publicKey)(Code) | | Creates a new SIG(0) signer object. This is the same as the
other constructor, except that the key tag is calculated automatically
from the given public key.
|
|
|