Home | History | Annotate | Download | only in DNS

Lines Matching refs:algorithm

25 /** The domain name representing the HMAC-MD5 algorithm. */
28 /** The domain name representing the HMAC-MD5 algorithm (deprecated). */
31 /** The domain name representing the HMAC-SHA1 algorithm. */
35 * The domain name representing the HMAC-SHA224 algorithm.
41 /** The domain name representing the HMAC-SHA256 algorithm. */
44 /** The domain name representing the HMAC-SHA384 algorithm. */
47 /** The domain name representing the HMAC-SHA512 algorithm. */
82 throw new IllegalArgumentException("Invalid algorithm");
87 * @param algorithm The algorithm of the shared key.
92 TSIG(Name algorithm, Name name, byte [] key) {
94 this.alg = algorithm;
100 * Creates a new TSIG key with the hmac-md5 algorithm, which can be used to
118 TSIG(Name algorithm, String name, String key) {
128 this.alg = algorithm;
135 * @param algorithm The algorithm of the shared key. The legal values are
143 TSIG(String algorithm, String name, String key) {
145 if (algorithm.equalsIgnoreCase("hmac-md5"))
147 else if (algorithm.equalsIgnoreCase("hmac-sha1"))
149 else if (algorithm.equalsIgnoreCase("hmac-sha224"))
151 else if (algorithm.equalsIgnoreCase("hmac-sha256"))
153 else if (algorithm.equalsIgnoreCase("hmac-sha384"))
155 else if (algorithm.equalsIgnoreCase("hmac-sha512"))
158 throw new IllegalArgumentException("Invalid TSIG algorithm");
163 * Creates a new TSIG object with the hmac-md5 algorithm, which can be used to
178 * alg:name:secret, or alg/name/secret. If an algorithm is specified, it must