Lines Matching refs:DigestMethod
41 * DOM-based abstract implementation of DigestMethod.
46 implements DigestMethod {
74 * @param dmElem a DigestMethod element
88 static DigestMethod unmarshal(Element dmElem) throws MarshalException {
90 if (alg.equals(DigestMethod.SHA1)) {
92 } else if (alg.equals(DigestMethod.SHA256)) {
96 } else if (alg.equals(DigestMethod.SHA512)) {
100 ("unsupported DigestMethod algorithm: " + alg);
107 * since most DigestMethod algorithms do not have parameters. Subclasses
119 + " DigestMethod algorithm");
130 * most DigestMethod algorithms do not have parameters. Subclasses should
141 " DigestMethod algorithm");
153 (ownerDoc, "DigestMethod", XMLSignature.XMLNS, prefix);
168 if (!(o instanceof DigestMethod)) {
171 DigestMethod odm = (DigestMethod) o;
182 * throws an exception since most DigestMethod algorithms do not have
193 " DigestMethod algorithm");
210 return DigestMethod.SHA1;
226 return DigestMethod.SHA256;
258 return DigestMethod.SHA512;