public interface X509AttributeCertificate
extends java.security.cert.X509Extension
Modifier and Type | Method and Description |
---|---|
void |
checkValidity()
Deprecated.
|
void |
checkValidity(java.util.Date date)
Deprecated.
|
X509Attribute[] |
getAttributes()
Deprecated.
Return the attributes contained in the attribute block in the certificate.
|
X509Attribute[] |
getAttributes(java.lang.String oid)
Deprecated.
Return the attributes with the same type as the passed in oid.
|
byte[] |
getEncoded()
Deprecated.
Return an ASN.1 encoded byte array representing the attribute certificate.
|
AttributeCertificateHolder |
getHolder()
Deprecated.
Return the holder of the certificate.
|
AttributeCertificateIssuer |
getIssuer()
Deprecated.
Return the issuer details for the certificate.
|
boolean[] |
getIssuerUniqueID()
Deprecated.
|
java.util.Date |
getNotAfter()
Deprecated.
Return the date after which the certificate is not valid.
|
java.util.Date |
getNotBefore()
Deprecated.
Return the date before which the certificate is not valid.
|
java.math.BigInteger |
getSerialNumber()
Deprecated.
Return the serial number for the certificate.
|
byte[] |
getSignature()
Deprecated.
|
int |
getVersion()
Deprecated.
Return the version number for the certificate.
|
void |
verify(java.security.PublicKey key,
java.lang.String provider)
Deprecated.
|
int getVersion()
java.math.BigInteger getSerialNumber()
java.util.Date getNotBefore()
java.util.Date getNotAfter()
AttributeCertificateHolder getHolder()
AttributeCertificateIssuer getIssuer()
X509Attribute[] getAttributes()
X509Attribute[] getAttributes(java.lang.String oid)
oid
- the object identifier we wish to match.boolean[] getIssuerUniqueID()
void checkValidity() throws java.security.cert.CertificateExpiredException, java.security.cert.CertificateNotYetValidException
java.security.cert.CertificateExpiredException
java.security.cert.CertificateNotYetValidException
void checkValidity(java.util.Date date) throws java.security.cert.CertificateExpiredException, java.security.cert.CertificateNotYetValidException
java.security.cert.CertificateExpiredException
java.security.cert.CertificateNotYetValidException
byte[] getSignature()
void verify(java.security.PublicKey key, java.lang.String provider) 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
byte[] getEncoded() throws java.io.IOException
java.io.IOException
- if the certificate cannot be encoded.