|
Cryptix OpenPGP | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.security.cert.Certificate
cryptix.pki.ExtendedCertificate
Extensions for java.security.cert.Certificate, which are common to all certificates.
Nested Class Summary |
Nested classes inherited from class java.security.cert.Certificate |
java.security.cert.Certificate.CertificateRep |
Constructor Summary | |
protected |
ExtendedCertificate(java.lang.String type)
Create a new Certificate object with the given type. |
Method Summary | |
abstract void |
checkValidity()
Checks if this certificate is currently valid. |
abstract void |
checkValidity(java.util.Date date)
Checks if this certificate is valid on a given date. |
abstract java.security.Principal |
getSubject()
Returns the userID for which this certificate was issued. |
abstract boolean |
isSelfSigned()
Returns whether the certificate is self signed |
abstract void |
verify(KeyBundle bundle)
Verifies that this certificate was signed using the specified keybundle. |
Methods inherited from class java.security.cert.Certificate |
equals, getEncoded, getPublicKey, getType, hashCode, toString, verify, verify, writeReplace |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
protected ExtendedCertificate(java.lang.String type)
Method Detail |
public abstract java.security.Principal getSubject()
public abstract void checkValidity() throws java.security.cert.CertificateExpiredException, java.security.cert.CertificateNotYetValidException, java.security.cert.CertificateParsingException
A certificate is valid if date is on or after the creation date and before the expiration date (when available).
java.security.cert.CertificateExpiredException
java.security.cert.CertificateNotYetValidException
java.security.cert.CertificateParsingException
public abstract void checkValidity(java.util.Date date) throws java.security.cert.CertificateExpiredException, java.security.cert.CertificateNotYetValidException, java.security.cert.CertificateParsingException
A certificate is valid if date is on or after the creation date and before the expiration date (when available).
java.security.cert.CertificateExpiredException
java.security.cert.CertificateNotYetValidException
java.security.cert.CertificateParsingException
public abstract boolean isSelfSigned() throws java.security.cert.CertificateException
java.security.cert.CertificateException
public abstract void verify(KeyBundle bundle) throws java.security.cert.CertificateException, java.security.NoSuchAlgorithmException, java.security.InvalidKeyException, java.security.NoSuchProviderException, java.security.SignatureException
java.security.cert.CertificateException
java.security.NoSuchAlgorithmException
java.security.InvalidKeyException
java.security.NoSuchProviderException
java.security.SignatureException
|
Cryptix OpenPGP | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |