|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.security.cert.Certificate | +--javax.security.cert.X509Certificate
Constructor Summary | |
X509Certificate()
|
Method Summary | |
abstract void |
checkValidity()
Checks that the certificate is currently valid. |
abstract void |
checkValidity(Date date)
Checks that the specified date is within the certificate's validity period. |
static X509Certificate |
getInstance(byte[] certData)
Instantiates an X509Certificate object, and initializes it with the specified byte array. |
static X509Certificate |
getInstance(InputStream inStream)
Instantiates an X509Certificate object, and initializes it with the data read from the input stream inStream. |
abstract Principal |
getIssuerDN()
Gets the issuer (issuer distinguished name) value from the certificate. |
abstract Date |
getNotAfter()
Gets the notAfter date from the validity period of the certificate. |
abstract Date |
getNotBefore()
Gets the notBefore date from the validity period of the certificate. |
abstract BigInteger |
getSerialNumber()
Gets the serialNumber value from the certificate. |
abstract String |
getSigAlgName()
Gets the signature algorithm name for the certificate signature algorithm. |
abstract String |
getSigAlgOID()
Gets the signature algorithm OID string from the certificate. |
abstract byte[] |
getSigAlgParams()
Gets the DER-encoded signature algorithm parameters from this certificate's signature algorithm. |
abstract Principal |
getSubjectDN()
Gets the subject (subject distinguished name) value from the certificate. |
abstract int |
getVersion()
Gets the version (version number) value from the certificate. |
Methods inherited from class javax.security.cert.Certificate |
equals,
getEncoded,
getPublicKey,
hashCode,
toString,
verify,
verify |
Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public X509Certificate()
Method Detail |
public abstract void checkValidity() throws CertificateExpiredException, CertificateNotYetValidException
public abstract void checkValidity(Date date) throws CertificateExpiredException, CertificateNotYetValidException
date
- the Date to check against to see if this certificate
is valid at that date/time.public static final X509Certificate getInstance(byte[] certData) throws CertificateException
Note: All X509Certificate subclasses must provide a constructor
of the form: public
certData
- a byte array containing the DER-encoded certificate.
public static final X509Certificate getInstance(InputStream inStream) throws CertificateException
Note: Only one DER-encoded certificate is expected to be
in the input stream. Also, all X509Certificate subclasses must
provide a constructor of the form:
public
inStream
- an input stream with the data to be read to
initialize the certificate.
public abstract Principal getIssuerDN()
public abstract Date getNotAfter()
public abstract Date getNotBefore()
public abstract BigInteger getSerialNumber()
public abstract String getSigAlgName()
public abstract String getSigAlgOID()
public abstract byte[] getSigAlgParams()
public abstract Principal getSubjectDN()
public abstract int getVersion()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |