JavaTM 2 Platform
Standard Ed. 6

類別 java.security.Identity
的使用

使用 Identity 的軟體套件
java.security 為安全框架提供類別和介面。 
 

java.security 中 Identity 的使用
 

java.security 中 Identity 的子類別
 class IdentityScope
          已過時。 此類別不再被使用。其功能已經由 java.security.KeyStore、java.security.cert 套件和 java.security.Principal 取代。
 class Signer
          已過時。 將不再使用此類別。其功能已由 java.security.KeyStore、java.security.cert 套件和 java.security.Principal 所取代。
 

返回 Identity 的 java.security 中的方法
 Identity IdentityScope.getIdentity(Principal principal)
          已過時。 獲取名稱與指定的主體相同的身份。
abstract  Identity IdentityScope.getIdentity(PublicKey key)
          已過時。 獲取具有指定公鑰的身份。
abstract  Identity IdentityScope.getIdentity(String name)
          已過時。 返回此作用域內具有指定名稱的身份(如果有的話)。
 

返回變數型別為 Identity 的型別的 java.security 中的方法
abstract  Enumeration<Identity> IdentityScope.identities()
          已過時。 返回此身份作用域內所有身份的列舉。
 

參數型別為 Identity 的 java.security 中的方法
abstract  void IdentityScope.addIdentity(Identity identity)
          已過時。 向此身份作用域添加一個身份。
protected  boolean Identity.identityEquals(Identity identity)
          已過時。 測試指定 Identity 與此 Identity 的相等性。
abstract  void IdentityScope.removeIdentity(Identity identity)
          已過時。 從此身份作用作用域移除一個身份。
 


JavaTM 2 Platform
Standard Ed. 6

提交錯誤或意見

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