Lines Matching defs:Algorithm
25 public static class Algorithm {
26 private Algorithm() {}
61 /** Private algorithm, specified by domain name */
64 /** Private algorithm, specified by OID */
67 private static Mnemonic algs = new Mnemonic("DNSSEC algorithm",
90 * Converts an algorithm into its textual representation
98 * Converts a textual representation of an algorithm into its numeric
100 * @param s The textual representation of the algorithm
101 * @return The algorithm code, or -1 on error.
203 * An algorithm is unsupported by this DNSSEC implementation.
207 super("Unsupported algorithm: " + alg);
231 DNSSEC.Algorithm.string(key.getAlgorithm()) + "/" +
235 DNSSEC.Algorithm.string(sig.getAlgorithm()) + "/" +
435 case Algorithm.RSAMD5:
436 case Algorithm.RSASHA1:
437 case Algorithm.RSA_NSEC3_SHA1:
438 case Algorithm.RSASHA256:
439 case Algorithm.RSASHA512:
441 case Algorithm.DSA:
442 case Algorithm.DSA_NSEC3_SHA1:
444 case Algorithm.ECDSAP256SHA256:
446 case Algorithm.ECDSAP384SHA384:
516 case Algorithm.RSAMD5:
517 case Algorithm.RSASHA1:
518 case Algorithm.RSA_NSEC3_SHA1:
519 case Algorithm.RSASHA256:
520 case Algorithm.RSASHA512:
524 case Algorithm.DSA:
525 case Algorithm.DSA_NSEC3_SHA1:
529 case Algorithm.ECDSAP256SHA256:
530 case Algorithm.ECDSAP384SHA384:
540 * Convert an algorithm number to the corresponding JCA string.
541 * @param alg The algorithm number.
542 * @throws UnsupportedAlgorithmException The algorithm is unknown.
547 case Algorithm.RSAMD5:
549 case Algorithm.DSA:
550 case Algorithm.DSA_NSEC3_SHA1:
552 case Algorithm.RSASHA1:
553 case Algorithm.RSA_NSEC3_SHA1:
555 case Algorithm.RSASHA256:
557 case Algorithm.RSASHA512:
559 case Algorithm.ECDSAP256SHA256:
561 case Algorithm.ECDSAP384SHA384:
739 case Algorithm.ECDSAP256SHA256:
743 case Algorithm.ECDSAP384SHA384:
781 * @throws UnsupportedAlgorithmException The algorithm is unknown
838 case Algorithm.ECDSAP256SHA256:
842 case Algorithm.ECDSAP384SHA384:
861 case Algorithm.RSAMD5:
862 case Algorithm.RSASHA1:
863 case Algorithm.RSA_NSEC3_SHA1:
864 case Algorithm.RSASHA256:
865 case Algorithm.RSASHA512:
869 case Algorithm.DSA:
870 case Algorithm.DSA_NSEC3_SHA1:
874 case Algorithm.ECDSAP256SHA256:
875 case Algorithm.ECDSAP384SHA384:
892 * @throws UnsupportedAlgorithmException The algorithm is unknown
914 * @throws UnsupportedAlgorithmException The algorithm is unknown