| 
 | JavaTM Platform Standard Ed. 6 | |||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
public interface DigestMethod
W3C Recommendation for XML-Signature Syntax and Processing 中定义的 XML DigestMethod 元素的表示形式。XML Schema Definition 的定义如下:
 
<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 实例。
XMLSignatureFactory.newDigestMethod(String, DigestMethodParameterSpec)| 字段摘要 | |
|---|---|
| static String | RIPEMD160RIPEMD-160 摘要方法的算法 URI。 | 
| static String | SHA1SHA1 摘要方法的算法 URI。 | 
| static String | SHA256SHA256 摘要方法的算法 URI。 | 
| static String | SHA512SHA512 摘要方法的算法 URI。 | 
| 方法摘要 | |
|---|---|
|  AlgorithmParameterSpec | getParameterSpec()返回与此 DigestMethod关联的特定于算法的输入参数。 | 
| 从接口 javax.xml.crypto.XMLStructure 继承的方法 | 
|---|
| isFeatureSupported | 
| 从接口 javax.xml.crypto.AlgorithmMethod 继承的方法 | 
|---|
| getAlgorithm | 
| 字段详细信息 | 
|---|
static final String SHA1
static final String SHA256
static final String SHA512
static final String RIPEMD160
| 方法详细信息 | 
|---|
AlgorithmParameterSpec getParameterSpec()
DigestMethod 关联的特定于算法的输入参数。
可将返回的参数强制转换为 DigestMethodParameterSpec 对象。
AlgorithmMethod 中的 getParameterSpecnull)| 
 | JavaTM Platform Standard Ed. 6 | |||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。