API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.security.auth.x500. X500PrivateCredential View Source
Author(s)
Since
Version
1.9, 11/17/05
Serial
Hierarchy
 Object
      X500PrivateCredential
Implements
 Destroyable
Subclasses
Description
publicfinal class X500PrivateCredential
  This class represents an X500PrivateCredential.
See also:   
Constructors
public X500PrivateCredential (X509Certificate cert, PrivateKey key)
  Creates an X500PrivateCredential that associates an X.509 certificate, a private key and the KeyStore alias.
public X500PrivateCredential (X509Certificate cert, PrivateKey key, String alias)
  Creates an X500PrivateCredential that associates an X.509 certificate, a private key and the KeyStore alias.
Methods
Hide/Show inherited methods
public void destroy () [Specified in Destroyable]
Clears the references to the X.509 certificate, private key and the KeyStore alias in this object.
public String getAlias ()
  Returns the KeyStore alias.
public X509Certificate getCertificate ()
  Returns the X.509 certificate.
public PrivateKey getPrivateKey ()
  Returns the PrivateKey.
public boolean isDestroyed () [Specified in Destroyable]
  Determines if the references to the X.509 certificate and private key in this object have been cleared.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar