Class X509Extension

java.lang.Object
org.bouncycastle.asn1.x509.X509Extension

public class X509Extension extends Object
Deprecated.
use Extension
an object for the elements in the X.509 V3 extension block.
  • Field Details

    • subjectDirectoryAttributes

      public static final ASN1ObjectIdentifier subjectDirectoryAttributes
      Deprecated.
      Subject Directory Attributes
    • subjectKeyIdentifier

      public static final ASN1ObjectIdentifier subjectKeyIdentifier
      Deprecated.
      Subject Key Identifier
    • keyUsage

      public static final ASN1ObjectIdentifier keyUsage
      Deprecated.
      Key Usage
    • privateKeyUsagePeriod

      public static final ASN1ObjectIdentifier privateKeyUsagePeriod
      Deprecated.
      Private Key Usage Period
    • subjectAlternativeName

      public static final ASN1ObjectIdentifier subjectAlternativeName
      Deprecated.
      Subject Alternative Name
    • issuerAlternativeName

      public static final ASN1ObjectIdentifier issuerAlternativeName
      Deprecated.
      Issuer Alternative Name
    • basicConstraints

      public static final ASN1ObjectIdentifier basicConstraints
      Deprecated.
      Basic Constraints
    • cRLNumber

      public static final ASN1ObjectIdentifier cRLNumber
      Deprecated.
      CRL Number
    • reasonCode

      public static final ASN1ObjectIdentifier reasonCode
      Deprecated.
      Reason code
    • instructionCode

      public static final ASN1ObjectIdentifier instructionCode
      Deprecated.
      Hold Instruction Code
    • invalidityDate

      public static final ASN1ObjectIdentifier invalidityDate
      Deprecated.
      Invalidity Date
    • deltaCRLIndicator

      public static final ASN1ObjectIdentifier deltaCRLIndicator
      Deprecated.
      Delta CRL indicator
    • issuingDistributionPoint

      public static final ASN1ObjectIdentifier issuingDistributionPoint
      Deprecated.
      Issuing Distribution Point
    • certificateIssuer

      public static final ASN1ObjectIdentifier certificateIssuer
      Deprecated.
      Certificate Issuer
    • nameConstraints

      public static final ASN1ObjectIdentifier nameConstraints
      Deprecated.
      Name Constraints
    • cRLDistributionPoints

      public static final ASN1ObjectIdentifier cRLDistributionPoints
      Deprecated.
      CRL Distribution Points
    • certificatePolicies

      public static final ASN1ObjectIdentifier certificatePolicies
      Deprecated.
      Certificate Policies
    • policyMappings

      public static final ASN1ObjectIdentifier policyMappings
      Deprecated.
      Policy Mappings
    • authorityKeyIdentifier

      public static final ASN1ObjectIdentifier authorityKeyIdentifier
      Deprecated.
      Authority Key Identifier
    • policyConstraints

      public static final ASN1ObjectIdentifier policyConstraints
      Deprecated.
      Policy Constraints
    • extendedKeyUsage

      public static final ASN1ObjectIdentifier extendedKeyUsage
      Deprecated.
      Extended Key Usage
    • freshestCRL

      public static final ASN1ObjectIdentifier freshestCRL
      Deprecated.
      Freshest CRL
    • inhibitAnyPolicy

      public static final ASN1ObjectIdentifier inhibitAnyPolicy
      Deprecated.
      Inhibit Any Policy
    • authorityInfoAccess

      public static final ASN1ObjectIdentifier authorityInfoAccess
      Deprecated.
      Authority Info Access
    • subjectInfoAccess

      public static final ASN1ObjectIdentifier subjectInfoAccess
      Deprecated.
      Subject Info Access
    • logoType

      public static final ASN1ObjectIdentifier logoType
      Deprecated.
      Logo Type
    • biometricInfo

      public static final ASN1ObjectIdentifier biometricInfo
      Deprecated.
      BiometricInfo
    • qCStatements

      public static final ASN1ObjectIdentifier qCStatements
      Deprecated.
      QCStatements
    • auditIdentity

      public static final ASN1ObjectIdentifier auditIdentity
      Deprecated.
      Audit identity extension in attribute certificates.
    • noRevAvail

      public static final ASN1ObjectIdentifier noRevAvail
      Deprecated.
      NoRevAvail extension in attribute certificates.
    • targetInformation

      public static final ASN1ObjectIdentifier targetInformation
      Deprecated.
      TargetInformation extension in attribute certificates.
  • Constructor Details

  • Method Details

    • isCritical

      public boolean isCritical()
      Deprecated.
    • getValue

      public ASN1OctetString getValue()
      Deprecated.
    • getParsedValue

      public ASN1Encodable getParsedValue()
      Deprecated.
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Deprecated.
      Overrides:
      equals in class Object
    • convertValueToObject

      public static ASN1Primitive convertValueToObject(X509Extension ext) throws IllegalArgumentException
      Deprecated.
      Convert the value of the passed in extension to an object
      Parameters:
      ext - the extension to parse
      Returns:
      the object the value string contains
      Throws:
      IllegalArgumentException - if conversion is not possible