Home | History | Annotate | Download | only in security

Lines Matching refs:algorithm

59     // The algorithm.
60 private String algorithm;
64 * the algorithm to use.
66 * @param algorithm
67 * the name of algorithm to use
69 protected MessageDigest(String algorithm) {
70 this.algorithm = algorithm;
75 * specified algorithm.
77 * @param algorithm
78 * the name of the algorithm to use
80 * specified algorithm
82 * if the specified algorithm is not available
84 * if {@code algorithm} is {@code null}
86 public static MessageDigest getInstance(String algorithm)
88 if (algorithm == null) {
93 engine.getInstance(algorithm, null);
96 result.algorithm = algorithm;
101 engine.provider, algorithm);
107 * specified algorithm from the specified provider.
109 * @param algorithm
110 * the name of the algorithm to use
114 * specified algorithm from the specified provider
116 * if the specified algorithm is not available
120 * if {@code algorithm} is {@code null}
123 public static MessageDigest getInstance(String algorithm, String provider)
132 return getInstance(algorithm, p);
137 * specified algorithm from the specified provider.
139 * @param algorithm
140 * the name of the algorithm to use
144 * specified algorithm from the specified provider
146 * if the specified algorithm is not available
148 * if {@code algorithm} is {@code null}
151 public static MessageDigest getInstance(String algorithm, Provider provider)
156 if (algorithm == null) {
161 engine.getInstance(algorithm, provider, null);
164 result.algorithm = algorithm;
169 provider, algorithm);
289 * {@code MessageDigest} including the name of its algorithm.
295 return "MESSAGE DIGEST " + algorithm;
321 * Returns the name of the algorithm of this {@code MessageDigest}.
323 * @return the name of the algorithm of this {@code MessageDigest}
326 return algorithm;
391 Provider provider, String algorithm) {
392 super(algorithm);