|
JavaTM 2 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 2 Platform Standard Ed. 6 |
|||||||||
| 上一個類別 下一個類別 | 框架 無框架 | |||||||||
| 摘要: 巢狀 | 欄位 | 建構子 | 方法 | 詳細資訊: 欄位 | 建構子 | 方法 | |||||||||
版權所有 2008 Sun Microsystems, Inc. 保留所有權利。請遵守GNU General Public License, version 2 only。