JavaTM 2 Platform
Standard Ed. 6

類別 javax.xml.crypto.KeySelector.Purpose
的使用

使用 KeySelector.Purpose 的軟體套件
javax.xml.crypto 用於 XML 加密的通用類別。 
 

javax.xml.crypto 中 KeySelector.Purpose 的使用
 

宣告為 KeySelector.Purpose 的 javax.xml.crypto 中的欄位
static KeySelector.Purpose KeySelector.Purpose.DECRYPT
          用於解密的密鑰。
static KeySelector.Purpose KeySelector.Purpose.ENCRYPT
          用於加密的密鑰。
static KeySelector.Purpose KeySelector.Purpose.SIGN
          用於簽章的密鑰。
static KeySelector.Purpose KeySelector.Purpose.VERIFY
          用於驗證的密鑰。
 

參數型別為 KeySelector.Purpose 的 javax.xml.crypto 中的方法
abstract  KeySelectorResult KeySelector.select(KeyInfo keyInfo, KeySelector.Purpose purpose, AlgorithmMethod method, XMLCryptoContext context)
          嘗試尋找滿足指定約束的密鑰。
 


JavaTM 2 Platform
Standard Ed. 6

提交錯誤或意見

版權所有 2008 Sun Microsystems, Inc. 保留所有權利。請遵守GNU General Public License, version 2 only。