|
Bouncy Castle Cryptography Library 1.81 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.security.cert.Certificate
java.security.cert.X509Certificate
org.bouncycastle.jce.provider.X509CertificateObject
Nested Class Summary |
Nested classes inherited from class java.security.cert.Certificate |
java.security.cert.Certificate.CertificateRep |
Constructor Summary | |
X509CertificateObject(Certificate c)
Deprecated. |
Method Summary | |
void |
checkValidity()
Deprecated. |
void |
checkValidity(java.util.Date date)
Deprecated. |
boolean |
equals(java.lang.Object o)
Deprecated. |
ASN1Encodable |
getBagAttribute(ASN1ObjectIdentifier oid)
Deprecated. |
java.util.Enumeration |
getBagAttributeKeys()
Deprecated. |
int |
getBasicConstraints()
Deprecated. |
java.util.Set |
getCriticalExtensionOIDs()
Deprecated. |
byte[] |
getEncoded()
Deprecated. |
java.util.List |
getExtendedKeyUsage()
Deprecated. |
byte[] |
getExtensionValue(java.lang.String oid)
Deprecated. |
java.util.Collection |
getIssuerAlternativeNames()
Deprecated. |
java.security.Principal |
getIssuerDN()
Deprecated. |
boolean[] |
getIssuerUniqueID()
Deprecated. |
javax.security.auth.x500.X500Principal |
getIssuerX500Principal()
Deprecated. |
boolean[] |
getKeyUsage()
Deprecated. |
java.util.Set |
getNonCriticalExtensionOIDs()
Deprecated. |
java.util.Date |
getNotAfter()
Deprecated. |
java.util.Date |
getNotBefore()
Deprecated. |
java.security.PublicKey |
getPublicKey()
Deprecated. |
java.math.BigInteger |
getSerialNumber()
Deprecated. |
java.lang.String |
getSigAlgName()
Deprecated. return a more "meaningful" representation for the signature algorithm used in the certficate. |
java.lang.String |
getSigAlgOID()
Deprecated. return the object identifier for the signature. |
byte[] |
getSigAlgParams()
Deprecated. return the signature parameters, or null if there aren't any. |
byte[] |
getSignature()
Deprecated. |
java.util.Collection |
getSubjectAlternativeNames()
Deprecated. |
java.security.Principal |
getSubjectDN()
Deprecated. |
boolean[] |
getSubjectUniqueID()
Deprecated. |
javax.security.auth.x500.X500Principal |
getSubjectX500Principal()
Deprecated. |
byte[] |
getTBSCertificate()
Deprecated. |
int |
getVersion()
Deprecated. |
boolean |
hasFriendlyName()
Deprecated. |
int |
hashCode()
Deprecated. |
boolean |
hasUnsupportedCriticalExtension()
Deprecated. |
void |
setBagAttribute(ASN1ObjectIdentifier oid,
ASN1Encodable attribute)
Deprecated. |
void |
setFriendlyName(java.lang.String friendlyName)
Deprecated. |
java.lang.String |
toString()
Deprecated. |
void |
verify(java.security.PublicKey key)
Deprecated. |
void |
verify(java.security.PublicKey key,
java.security.Provider sigProvider)
Deprecated. |
void |
verify(java.security.PublicKey key,
java.lang.String sigProvider)
Deprecated. |
Methods inherited from class java.security.cert.Certificate |
getType, writeReplace |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public X509CertificateObject(Certificate c) throws java.security.cert.CertificateParsingException
Method Detail |
public void checkValidity() throws java.security.cert.CertificateExpiredException, java.security.cert.CertificateNotYetValidException
java.security.cert.CertificateExpiredException
java.security.cert.CertificateNotYetValidException
public void checkValidity(java.util.Date date) throws java.security.cert.CertificateExpiredException, java.security.cert.CertificateNotYetValidException
java.security.cert.CertificateExpiredException
java.security.cert.CertificateNotYetValidException
public int getVersion()
public java.math.BigInteger getSerialNumber()
public java.security.Principal getIssuerDN()
public javax.security.auth.x500.X500Principal getIssuerX500Principal()
public java.security.Principal getSubjectDN()
public javax.security.auth.x500.X500Principal getSubjectX500Principal()
public java.util.Date getNotBefore()
public java.util.Date getNotAfter()
public byte[] getTBSCertificate() throws java.security.cert.CertificateEncodingException
java.security.cert.CertificateEncodingException
public byte[] getSignature()
public java.lang.String getSigAlgName()
public java.lang.String getSigAlgOID()
public byte[] getSigAlgParams()
public boolean[] getIssuerUniqueID()
public boolean[] getSubjectUniqueID()
public boolean[] getKeyUsage()
public java.util.List getExtendedKeyUsage() throws java.security.cert.CertificateParsingException
java.security.cert.CertificateParsingException
public int getBasicConstraints()
public java.util.Collection getSubjectAlternativeNames() throws java.security.cert.CertificateParsingException
java.security.cert.CertificateParsingException
public java.util.Collection getIssuerAlternativeNames() throws java.security.cert.CertificateParsingException
java.security.cert.CertificateParsingException
public java.util.Set getCriticalExtensionOIDs()
getCriticalExtensionOIDs
in interface java.security.cert.X509Extension
public byte[] getExtensionValue(java.lang.String oid)
getExtensionValue
in interface java.security.cert.X509Extension
public java.util.Set getNonCriticalExtensionOIDs()
getNonCriticalExtensionOIDs
in interface java.security.cert.X509Extension
public boolean hasUnsupportedCriticalExtension()
hasUnsupportedCriticalExtension
in interface java.security.cert.X509Extension
public java.security.PublicKey getPublicKey()
public byte[] getEncoded() throws java.security.cert.CertificateEncodingException
java.security.cert.CertificateEncodingException
public boolean equals(java.lang.Object o)
public int hashCode()
public void setBagAttribute(ASN1ObjectIdentifier oid, ASN1Encodable attribute)
setBagAttribute
in interface PKCS12BagAttributeCarrier
public ASN1Encodable getBagAttribute(ASN1ObjectIdentifier oid)
getBagAttribute
in interface PKCS12BagAttributeCarrier
public java.util.Enumeration getBagAttributeKeys()
getBagAttributeKeys
in interface PKCS12BagAttributeCarrier
public boolean hasFriendlyName()
hasFriendlyName
in interface PKCS12BagAttributeCarrier
public void setFriendlyName(java.lang.String friendlyName)
setFriendlyName
in interface PKCS12BagAttributeCarrier
public java.lang.String toString()
public final void verify(java.security.PublicKey key) 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
public final void verify(java.security.PublicKey key, java.lang.String sigProvider) 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
public final void verify(java.security.PublicKey key, java.security.Provider sigProvider) throws java.security.cert.CertificateException, java.security.NoSuchAlgorithmException, java.security.InvalidKeyException, java.security.SignatureException
java.security.cert.CertificateException
java.security.NoSuchAlgorithmException
java.security.InvalidKeyException
java.security.SignatureException
|
Bouncy Castle Cryptography Library 1.81 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |