Overview | Package | Class | Tree | Deprecated | Index | Help
| Bouncy Castle Cryptography 1.21
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, X509Extension

public class X509CertificateObject
extends X509Certificate
implements PKCS12BagAttributeCarrier

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()`
`Set` | `getCriticalExtensionOIDs()`
`byte[]` | `getEncoded()`
`byte[]` | `getExtensionValue(java.lang.String oid)`
`java.security.Principal` | `getIssuerDN()`
`boolean[]` | `getIssuerUniqueID()`
`boolean[]` | `getKeyUsage()`
`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.Certificate
`equals, getType, hashCode`

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 CertificateExpiredException,
                              CertificateNotYetValidException

  Specified by:
    `checkValidity` in class `X509Certificate`
    `CertificateExpiredException`
    `CertificateNotYetValidException`

### checkValidity

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

  Specified by:
    `checkValidity` in class `X509Certificate`
    `CertificateExpiredException`
    `CertificateNotYetValidException`

### getVersion

    public int getVersion()

  Specified by:
    `getVersion` in class `X509Certificate`

### getSerialNumber

    public java.math.BigInteger getSerialNumber()

  Specified by:
    `getSerialNumber` in class `X509Certificate`

### getIssuerDN

    public java.security.Principal getIssuerDN()

  Specified by:
    `getIssuerDN` in class `X509Certificate`

### getSubjectDN

    public java.security.Principal getSubjectDN()

  Specified by:
    `getSubjectDN` in class `X509Certificate`

### getNotBefore

    public java.util.Date getNotBefore()

  Specified by:
    `getNotBefore` in class `X509Certificate`

### getNotAfter

    public java.util.Date getNotAfter()

  Specified by:
    `getNotAfter` in class `X509Certificate`

### getTBSCertificate

    public byte[] getTBSCertificate()
                             throws CertificateEncodingException

  Specified by:
    `getTBSCertificate` in class `X509Certificate`
    `CertificateEncodingException`

### getSignature

    public byte[] getSignature()

  Specified by:
    `getSignature` in class `X509Certificate`

### getSigAlgName

    public java.lang.String getSigAlgName()

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

  Specified by:
    `getSigAlgName` in class `X509Certificate`

### getSigAlgOID

    public java.lang.String getSigAlgOID()

  return the object identifier for the signature.

  Specified by:
    `getSigAlgOID` in class `X509Certificate`

### getSigAlgParams

    public byte[] getSigAlgParams()

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

  Specified by:
    `getSigAlgParams` in class `X509Certificate`

### getIssuerUniqueID

    public boolean[] getIssuerUniqueID()

  Specified by:
    `getIssuerUniqueID` in class `X509Certificate`

### getSubjectUniqueID

    public boolean[] getSubjectUniqueID()

  Specified by:
    `getSubjectUniqueID` in class `X509Certificate`

### getKeyUsage

    public boolean[] getKeyUsage()

  Specified by:
    `getKeyUsage` in class `X509Certificate`

### getBasicConstraints

    public int getBasicConstraints()

  Specified by:
    `getBasicConstraints` in class `X509Certificate`

### getCriticalExtensionOIDs

    public Set getCriticalExtensionOIDs()

  Specified by:
    `getCriticalExtensionOIDs` in interface `X509Extension`

### getExtensionValue

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

  Specified by:
    `getExtensionValue` in interface `X509Extension`

### getNonCriticalExtensionOIDs

    public Set getNonCriticalExtensionOIDs()

  Specified by:
    `getNonCriticalExtensionOIDs` in interface `X509Extension`

### hasUnsupportedCriticalExtension

    public boolean hasUnsupportedCriticalExtension()

  Specified by:
    `hasUnsupportedCriticalExtension` in interface `X509Extension`

### getPublicKey

    public java.security.PublicKey getPublicKey()

  Specified by:
    `getPublicKey` in class `Certificate`

### getEncoded

    public byte[] getEncoded()
                      throws CertificateEncodingException

  Specified by:
    `getEncoded` in class `Certificate`
    `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()

  Specified by:
    `toString` in class `Certificate`

### verify

    public final void verify(java.security.PublicKey key)
                      throws CertificateException,
                             java.security.NoSuchAlgorithmException,
                             java.security.InvalidKeyException,
                             java.security.NoSuchProviderException,
                             java.security.SignatureException

  Specified by:
    `verify` in class `Certificate`
    `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 CertificateException,
                             java.security.NoSuchAlgorithmException,
                             java.security.InvalidKeyException,
                             java.security.NoSuchProviderException,
                             java.security.SignatureException

  Specified by:
    `verify` in class `Certificate`
    `CertificateException`
    `java.security.NoSuchAlgorithmException`
    `java.security.InvalidKeyException`
    `java.security.NoSuchProviderException`
    `java.security.SignatureException`

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