java.lang.Objectjavax.xml.crypto.KeySelector.Purpose
public static class KeySelector.Purpose
     将被选中的密钥的用途。
| 字段摘要 | |
|---|---|
 static KeySelector.Purpose |  
     DECRYPT 用于解密的密钥。  |  
    
 static KeySelector.Purpose |  
     ENCRYPT 用于加密的密钥。  |  
    
 static KeySelector.Purpose |  
     SIGN 用于签名的密钥。  |  
    
 static KeySelector.Purpose |  
     VERIFY 用于验证的密钥。  |  
    
| 方法摘要 | |
|---|---|
  String |  
     toString() 返回此用途的字符串表示形式(“sign”、“verify”、“encrypt”或“decrypt”)。  |  
    
| 从类 java.lang.Object 继承的方法 | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |  
    
| 字段详细信息 | 
|---|
public static final KeySelector.Purpose SIGN
public static final KeySelector.Purpose VERIFY
public static final KeySelector.Purpose ENCRYPT
public static final KeySelector.Purpose DECRYPT
| 方法详细信息 | 
|---|
public String toString()