接口 DigestMethod

所有父级接口:
AlgorithmMethod , XMLStructure

public interface DigestMethod extends XMLStructure , AlgorithmMethod
W3C 对 XML 签名语法和处理的推荐 中定义的 XML DigestMethod 元素的表示。 XML 架构定义定义为:
  <element name="DigestMethod" type="ds:DigestMethodType"/>
   <complexType name="DigestMethodType" mixed="true">
    <sequence>
     <any namespace="##any" minOccurs="0" maxOccurs="unbounded"/>
      <!-- (0,unbounded) elements from (1,1) namespace -->
    </sequence>
    <attribute name="Algorithm" type="anyURI" use="required"/>
   </complexType>
 
可以通过调用 XMLSignatureFactory 类的 newDigestMethod 方法来创建 DigestMethod 实例。
自从:
1.6
参见: