Home | History | Annotate | Download | only in DNS

Lines Matching defs:Protocol

21 public static class Protocol {
23 * KEY protocol identifiers.
26 private Protocol() {}
28 /** No defined protocol. */
43 /** Any protocol */
46 private static Mnemonic protocols = new Mnemonic("KEY protocol",
62 * Converts an KEY protocol value into its textual representation
70 * Converts a textual representation of a KEY protocol into its
72 * @param s The textual representation of the protocol
73 * @return The protocol code, or -1 on error.
230 * @param s The textual representation of the protocol
231 * @return The protocol code, or -1 on error.
278 public static final int PROTOCOL_TLS = Protocol.TLS;
281 public static final int PROTOCOL_EMAIL = Protocol.EMAIL;
284 public static final int PROTOCOL_DNSSEC = Protocol.DNSSEC;
287 public static final int PROTOCOL_IPSEC = Protocol.IPSEC;
289 /** Key was created for use with any protocol */
290 public static final int PROTOCOL_ANY = Protocol.ANY;
302 * @param proto The protocol that the key was created for
316 * @param proto The protocol that the key was created for
338 proto = Protocol.value(protoString);
340 throw st.exception("Invalid protocol: " + protoString);