站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

Java(TM) 2 Platform, Standard Edition, v1.2.2 API Specification: Uses of Class java.security.KeyStoreException - JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

JavaTM 2 Platform
Standard Edition

Uses of Class
java.security.KeyStoreException

Packages that use KeyStoreException
java.security Provides the classes and interfaces for the security framework. 
 

Uses of KeyStoreException in java.security
 

Methods in java.security that throw KeyStoreException
abstract  void KeyStoreSpi.engineSetKeyEntry(String alias, Key key, char[] password, Certificate[] chain)
          Assigns the given key to the given alias, protecting it with the given password.
abstract  void KeyStoreSpi.engineSetKeyEntry(String alias, byte[] key, Certificate[] chain)
          Assigns the given key (that has already been protected) to the given alias.
abstract  void KeyStoreSpi.engineSetCertificateEntry(String alias, Certificate cert)
          Assigns the given certificate to the given alias.
abstract  void KeyStoreSpi.engineDeleteEntry(String alias)
          Deletes the entry identified by the given alias from this keystore.
static KeyStore KeyStore.getInstance(String type)
          Generates a keystore object of the given type.
static KeyStore KeyStore.getInstance(String type, String provider)
          Generates a keystore object for the specified keystore type from the specified provider.
 Key KeyStore.getKey(String alias, char[] password)
          Returns the key associated with the given alias, using the given password to recover it.
 Certificate[] KeyStore.getCertificateChain(String alias)
          Returns the certificate chain associated with the given alias.
 Certificate KeyStore.getCertificate(String alias)
          Returns the certificate associated with the given alias.
 Date KeyStore.getCreationDate(String alias)
          Returns the creation date of the entry identified by the given alias.
 void KeyStore.setKeyEntry(String alias, Key key, char[] password, Certificate[] chain)
          Assigns the given key to the given alias, protecting it with the given password.
 void KeyStore.setKeyEntry(String alias, byte[] key, Certificate[] chain)
          Assigns the given key (that has already been protected) to the given alias.
 void KeyStore.setCertificateEntry(String alias, Certificate cert)
          Assigns the given certificate to the given alias.
 void KeyStore.deleteEntry(String alias)
          Deletes the entry identified by the given alias from this keystore.
 Enumeration KeyStore.aliases()
          Lists all the alias names of this keystore.
 boolean KeyStore.containsAlias(String alias)
          Checks if the given alias exists in this keystore.
 int KeyStore.size()
          Retrieves the number of entries in this keystore.
 boolean KeyStore.isKeyEntry(String alias)
          Returns true if the entry identified by the given alias is a key entry, and false otherwise.
 boolean KeyStore.isCertificateEntry(String alias)
          Returns true if the entry identified by the given alias is a trusted certificate entry, and false otherwise.
 String KeyStore.getCertificateAlias(Certificate cert)
          Returns the (alias) name of the first keystore entry whose certificate matches the given certificate.
 void KeyStore.store(OutputStream stream, char[] password)
          Stores this keystore to the given output stream, and protects its integrity with the given password.
 


JavaTM 2 Platform
Standard Edition

Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.