-
- All Superinterfaces:
-
AlgorithmMethod,Transform,XMLStructure
public interface CanonicalizationMethod extends Transform
CanonicalizationMethod中定义的XMLCanonicalizationMethod元素的表示 。 XML Schema Definition定义为:<element name="CanonicalizationMethod" type="ds:CanonicalizationMethodType"/> <complexType name="CanonicalizationMethodType" 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类的newCanonicalizationMethod方法来创建CanonicalizationMethod实例。
-
-
字段汇总
字段 变量和类型 字段 描述 static StringEXCLUSIVEExclusive Canonical XML (without comments)规范化方法算法URI。static StringEXCLUSIVE_WITH_COMMENTSExclusive Canonical XML with comments规范化方法算法URI。static StringINCLUSIVECanonical XML (without comments)规范化方法算法URI。static StringINCLUSIVE_WITH_COMMENTSCanonical XML with comments规范化方法算法URI。
-
方法摘要
所有方法 实例方法 抽象方法 变量和类型 方法 描述 AlgorithmParameterSpecgetParameterSpec()返回与此CanonicalizationMethod关联的特定于算法的输入参数。-
声明方法的接口 javax.xml.crypto.AlgorithmMethod
getAlgorithm
-
声明方法的接口 javax.xml.crypto.XMLStructure
isFeatureSupported
-
-
-
-
字段详细信息
-
INCLUSIVE
static final String INCLUSIVE
Canonical XML (without comments)规范化方法算法URI。- 另请参见:
- 常数字段值
-
INCLUSIVE_WITH_COMMENTS
static final String INCLUSIVE_WITH_COMMENTS
Canonical XML with comments规范化方法算法URI。- 另请参见:
- 常数字段值
-
EXCLUSIVE
static final String EXCLUSIVE
Exclusive Canonical XML (without comments)规范化方法算法URI。- 另请参见:
- 常数字段值
-
EXCLUSIVE_WITH_COMMENTS
static final String EXCLUSIVE_WITH_COMMENTS
Exclusive Canonical XML with comments规范化方法算法URI。- 另请参见:
- 常数字段值
-
-
方法详细信息
-
getParameterSpec
AlgorithmParameterSpec getParameterSpec()
返回与此CanonicalizationMethod关联的特定于算法的输入参数。返回的参数可以强制转换为
C14NMethodParameterSpec对象。- Specified by:
-
getParameterSpec接口AlgorithmMethod - Specified by:
-
getParameterSpec接口Transform - 结果
-
特定于算法的输入参数(如果未指定,可能是
null)
-
-