KeyStore.PrivateKeyEntry


KeyStore.PrivateKeyEntry java.security

Java 5.0

This KeyStore.Entry implementation represents a private key. getPrivateKey( ) returns the key. getCertificateChain( ) returns the certificate chain of the corresponding public key. The first element of the returned array is the certificate of the ultimate certificate authority (CA). This "end entity" certificate is also available through the getCertificate( ) method.

 public static final class  KeyStore.PrivateKeyEntry  implements KeyStore.Entry {  // Public Constructors  public  PrivateKeyEntry  (PrivateKey  privateKey  , java.security.cert.         Certificate[ ]  chain  );  // Public Instance Methods  public java.security.cert.Certificate  getCertificate  ( );        public java.security.cert.Certificate[ ]  getCertificateChain  ( );        public PrivateKey  getPrivateKey  ( );  // Public Methods Overriding Object  public String  toString  ( );   } 



Java In A Nutshell
Java In A Nutshell, 5th Edition
ISBN: 0596007736
EAN: 2147483647
Year: 2004
Pages: 1220

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net