public interface CanonicalizationMethod extends Transform
CanonicalizationMethod
元在
W3C Recommendation for XML-Signature Syntax and Processing定义的XML架构定义的定义是:
<元名称=“canonicalizationmethod”type=“ds:canonicalizationmethodtype” />< complexType名称=“canonicalizationmethodtype混合=“真实”> <序> <命名空间=“# #任何“minoccurs="“0”=“maxOccurs无界”/"> <!——(0、无界)元素(1,1)命名空间-->< /序列> <属性名=“算法”type=“anyuri”使用=“需要的” />< /名称> 命名空间=“#> 序>一
CanonicalizationMethod
实例可以通过调用类方法创建的
XMLSignatureFactory
newCanonicalizationMethod
。
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 。
|
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.