JavaTM 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 Platform
Standard Ed. 6

提交错误或意见
有关更多的 API 参考资料和开发人员文档,请参阅 Java SE 开发人员文档。该文档包含更详细的、面向开发人员的描述,以及总体概述、术语定义、使用技巧和工作代码示例。

版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。