public interface CanonicalizationMethod extends Transform
CanonicalizationMethod
元素的表示 。
XML模式定义定义为:
<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
实例。
Modifier and Type | Field and Description |
---|---|
static String |
EXCLUSIVE
Exclusive Canonical XML (without comments)规范化方法算法URI。
|
static String |
EXCLUSIVE_WITH_COMMENTS
Exclusive Canonical XML with comments规范化方法算法URI。
|
static String |
INCLUSIVE
Canonical XML (without comments)规范化方法算法URI。
|
static String |
INCLUSIVE_WITH_COMMENTS
Canonical XML with comments规范化方法算法URI。
|
Modifier and Type | Method and Description |
---|---|
AlgorithmParameterSpec |
getParameterSpec()
返回与此CanonicalizationMethod相关的特定于算法的输入
CanonicalizationMethod 。
|
isFeatureSupported
getAlgorithm
static final String INCLUSIVE
static final String INCLUSIVE_WITH_COMMENTS
static final String EXCLUSIVE
static final String EXCLUSIVE_WITH_COMMENTS
AlgorithmParameterSpec getParameterSpec()
CanonicalizationMethod
。
返回的参数可以类型转换为C14NMethodParameterSpec
对象。
getParameterSpec
在界面
AlgorithmMethod
getParameterSpec
在界面
Transform
null
如果未指定)
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.