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。