Overview | Package | Class | Tree | Deprecated | Index | Help
| Bouncy Castle Cryptography 1.28
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.bouncycastle.jce.provider
Class X509CertificateObject

    java.lang.Object
      java.security.cert.Certificate
          java.security.cert.X509Certificate
              org.bouncycastle.jce.provider.X509CertificateObject

All Implemented Interfaces:
  PKCS12BagAttributeCarrier, java.io.Serializable, java.security.cert.X509Extension

public class X509CertificateObject
extends java.security.cert.X509Certificate
implements PKCS12BagAttributeCarrier

See Also:
  Serialized Form

Nested Class Summary

Nested classes inherited from class java.security.cert.Certificate
`java.security.cert.Certificate.CertificateRep`

Constructor Summary
`X509CertificateObject(X509CertificateStructure c)`

Method Summary
`void` | `checkValidity()`
`void` | `checkValidity(java.util.Date date)`
`DEREncodable` | `getBagAttribute(DERObjectIdentifier oid)`
`java.util.Enumeration` | `getBagAttributeKeys()`
`int` | `getBasicConstraints()`
`java.util.Set` | `getCriticalExtensionOIDs()`
`byte[]` | `getEncoded()`
`byte[]` | `getExtensionValue(java.lang.String oid)`
`java.security.Principal` | `getIssuerDN()`
`boolean[]` | `getIssuerUniqueID()`
`boolean[]` | `getKeyUsage()`
`java.util.Set` | `getNonCriticalExtensionOIDs()`
`java.util.Date` | `getNotAfter()`
`java.util.Date` | `getNotBefore()`
`java.security.PublicKey` | `getPublicKey()`
`java.math.BigInteger` | `getSerialNumber()`
`java.lang.String` | `getSigAlgName()` return a more "meaningful" representation for the signature algorithm used in the certficate.
`java.lang.String` | `getSigAlgOID()` return the object identifier for the signature.
`byte[]` | `getSigAlgParams()` return the signature parameters, or null if there aren't any.
`byte[]` | `getSignature()`
`java.security.Principal` | `getSubjectDN()`
`boolean[]` | `getSubjectUniqueID()`
`byte[]` | `getTBSCertificate()`
`int` | `getVersion()`
`boolean` | `hasUnsupportedCriticalExtension()`
`void` | `setBagAttribute(DERObjectIdentifier oid, DEREncodable attribute)`
`java.lang.String` | `toString()`
`void` | `verify(java.security.PublicKey key)`
`void` | `verify(java.security.PublicKey key, java.lang.String sigProvider)`

Methods inherited from class java.security.cert.X509Certificate
`getExtendedKeyUsage, getIssuerAlternativeNames, getIssuerX500Principal, getSubjectAlternativeNames, getSubjectX500Principal`

Methods inherited from class java.security.cert.Certificate
`equals, getType, hashCode, writeReplace`

Methods inherited from class java.lang.Object
`clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

Constructor Detail

### X509CertificateObject

    public X509CertificateObject(X509CertificateStructure c)

Method Detail

### checkValidity

    public void checkValidity()
                       throws java.security.cert.CertificateExpiredException,
                              java.security.cert.CertificateNotYetValidException

  Throws:
    `java.security.cert.CertificateExpiredException`
    `java.security.cert.CertificateNotYetValidException`

### checkValidity

    public void checkValidity(java.util.Date date)
                       throws java.security.cert.CertificateExpiredException,
                              java.security.cert.CertificateNotYetValidException

  Throws:
    `java.security.cert.CertificateExpiredException`
    `java.security.cert.CertificateNotYetValidException`

### getVersion

    public int getVersion()

### getSerialNumber

    public java.math.BigInteger getSerialNumber()

### getIssuerDN

    public java.security.Principal getIssuerDN()

### getSubjectDN

    public java.security.Principal getSubjectDN()

### getNotBefore

    public java.util.Date getNotBefore()

### getNotAfter

    public java.util.Date getNotAfter()

### getTBSCertificate

    public byte[] getTBSCertificate()
                             throws java.security.cert.CertificateEncodingException

  Throws:
    `java.security.cert.CertificateEncodingException`

### getSignature

    public byte[] getSignature()

### getSigAlgName

    public java.lang.String getSigAlgName()

  return a more "meaningful" representation for the signature algorithm used in the certficate.

### getSigAlgOID

    public java.lang.String getSigAlgOID()

  return the object identifier for the signature.

### getSigAlgParams

    public byte[] getSigAlgParams()

  return the signature parameters, or null if there aren't any.

### getIssuerUniqueID

    public boolean[] getIssuerUniqueID()

### getSubjectUniqueID

    public boolean[] getSubjectUniqueID()

### getKeyUsage

    public boolean[] getKeyUsage()

### getBasicConstraints

    public int getBasicConstraints()

### getCriticalExtensionOIDs

    public java.util.Set getCriticalExtensionOIDs()

  Specified by:
    `getCriticalExtensionOIDs` in interface `java.security.cert.X509Extension`

### getExtensionValue

    public byte[] getExtensionValue(java.lang.String oid)

  Specified by:
    `getExtensionValue` in interface `java.security.cert.X509Extension`

### getNonCriticalExtensionOIDs

    public java.util.Set getNonCriticalExtensionOIDs()

  Specified by:
    `getNonCriticalExtensionOIDs` in interface `java.security.cert.X509Extension`

### hasUnsupportedCriticalExtension

    public boolean hasUnsupportedCriticalExtension()

  Specified by:
    `hasUnsupportedCriticalExtension` in interface `java.security.cert.X509Extension`

### getPublicKey

    public java.security.PublicKey getPublicKey()

### getEncoded

    public byte[] getEncoded()
                      throws java.security.cert.CertificateEncodingException

  Throws:
    `java.security.cert.CertificateEncodingException`

### setBagAttribute

    public void setBagAttribute(DERObjectIdentifier oid,
                                DEREncodable attribute)

  Specified by:
    `setBagAttribute` in interface `PKCS12BagAttributeCarrier`

### getBagAttribute

    public DEREncodable getBagAttribute(DERObjectIdentifier oid)

  Specified by:
    `getBagAttribute` in interface `PKCS12BagAttributeCarrier`

### getBagAttributeKeys

    public java.util.Enumeration getBagAttributeKeys()

  Specified by:
    `getBagAttributeKeys` in interface `PKCS12BagAttributeCarrier`

### toString

    public java.lang.String toString()

### verify

    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

  Throws:
    `java.security.cert.CertificateException`
    `java.security.NoSuchAlgorithmException`
    `java.security.InvalidKeyException`
    `java.security.NoSuchProviderException`
    `java.security.SignatureException`

### verify

    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

  Throws:
    `java.security.cert.CertificateException`
    `java.security.NoSuchAlgorithmException`
    `java.security.InvalidKeyException`
    `java.security.NoSuchProviderException`
    `java.security.SignatureException`

Overview | Package | Class | Tree | Deprecated | Index | Help
| Bouncy Castle Cryptography 1.28
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD