|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
public interface KeyName
W3C Recommendation for XML-Signature Syntax and Processing 中定义的 XML KeyName 元素的表示形式。KeyName 对象包含一个字符串值,签名人可以使用该字符串值让接受方了解密钥标识符。XML Schema Definition 的定义如下:
<element name="KeyInfo" type="ds:KeyInfoType"/>通过调用
KeyInfoFactory 类的 newKeyName 方法,并向其传递表示密钥名称的 String,可以创建 KeyName 实例,例如:
KeyInfoFactory factory = KeyInfoFactory.getInstance("DOM");
KeyName keyName = factory.newKeyName("Alice");
KeyInfoFactory.newKeyName(String)| 方法摘要 | |
|---|---|
String |
getName()
返回此 KeyName 的名称。 |
| 从接口 javax.xml.crypto.XMLStructure 继承的方法 |
|---|
isFeatureSupported |
| 方法详细信息 |
|---|
String getName()
KeyName 的名称。
KeyName 的名称(不能为 null)
|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。