Class C509ExtensionType

java.lang.Object
org.bouncycastle.cbor.c509.C509ExtensionType

public final class C509ExtensionType extends Object
The C509 Extensions Registry, Section 8.8 of draft-ietf-cose-cbor-encoded-cert-20.

In an int-coded extension the absolute value of the int is the registered extension value and the sign carries criticality: negative for critical, positive for non-critical (Section 3.1.10).

  • Field Details

    • SUBJECT_KEY_IDENTIFIER

      public static final int SUBJECT_KEY_IDENTIFIER
      Subject Key Identifier (2.5.29.14).
      See Also:
    • KEY_USAGE

      public static final int KEY_USAGE
      Key Usage (2.5.29.15).
      See Also:
    • SUBJECT_ALT_NAME

      public static final int SUBJECT_ALT_NAME
      Subject Alternative Name (2.5.29.17).
      See Also:
    • BASIC_CONSTRAINTS

      public static final int BASIC_CONSTRAINTS
      Basic Constraints (2.5.29.19).
      See Also:
    • CRL_DISTRIBUTION_POINTS

      public static final int CRL_DISTRIBUTION_POINTS
      CRL Distribution Points (2.5.29.31).
      See Also:
    • CERTIFICATE_POLICIES

      public static final int CERTIFICATE_POLICIES
      Certificate Policies (2.5.29.32).
      See Also:
    • AUTHORITY_KEY_IDENTIFIER

      public static final int AUTHORITY_KEY_IDENTIFIER
      Authority Key Identifier (2.5.29.35).
      See Also:
    • EXTENDED_KEY_USAGE

      public static final int EXTENDED_KEY_USAGE
      Extended Key Usage (2.5.29.37).
      See Also:
    • AUTHORITY_INFO_ACCESS

      public static final int AUTHORITY_INFO_ACCESS
      Authority Information Access (1.3.6.1.5.5.7.1.1).
      See Also:
    • SUBJECT_DIRECTORY_ATTRIBUTES

      public static final int SUBJECT_DIRECTORY_ATTRIBUTES
      Subject Directory Attributes (2.5.29.9).
      See Also:
    • ISSUER_ALT_NAME

      public static final int ISSUER_ALT_NAME
      Issuer Alternative Name (2.5.29.18).
      See Also:
    • NAME_CONSTRAINTS

      public static final int NAME_CONSTRAINTS
      Name Constraints (2.5.29.30).
      See Also:
    • POLICY_MAPPINGS

      public static final int POLICY_MAPPINGS
      Policy Mappings (2.5.29.33).
      See Also:
    • POLICY_CONSTRAINTS

      public static final int POLICY_CONSTRAINTS
      Policy Constraints (2.5.29.36).
      See Also:
    • FRESHEST_CRL

      public static final int FRESHEST_CRL
      Freshest CRL (2.5.29.46).
      See Also:
    • INHIBIT_ANY_POLICY

      public static final int INHIBIT_ANY_POLICY
      Inhibit anyPolicy (2.5.29.54).
      See Also:
    • SUBJECT_INFO_ACCESS

      public static final int SUBJECT_INFO_ACCESS
      Subject Information Access (1.3.6.1.5.5.7.1.11).
      See Also:
    • IP_ADDR_BLOCKS

      public static final int IP_ADDR_BLOCKS
      IPAddrBlocks (1.3.6.1.5.5.7.1.7), RFC 3779.
      See Also:
    • AS_IDENTIFIERS

      public static final int AS_IDENTIFIERS
      AS Identifiers (1.3.6.1.5.5.7.1.8), RFC 3779.
      See Also:
    • IP_ADDR_BLOCKS_V2

      public static final int IP_ADDR_BLOCKS_V2
      IPAddrBlocks v2 (1.3.6.1.5.5.7.1.28), RFC 8360.
      See Also:
    • AS_IDENTIFIERS_V2

      public static final int AS_IDENTIFIERS_V2
      AS Identifiers v2 (1.3.6.1.5.5.7.1.29), RFC 8360.
      See Also:
    • OCSP_NO_CHECK

      public static final int OCSP_NO_CHECK
      OCSP No Check (1.3.6.1.5.5.7.48.1.5), RFC 6960.
      See Also:
    • TLS_FEATURES

      public static final int TLS_FEATURES
      TLS Features (1.3.6.1.5.5.7.1.24), RFC 7633.
      See Also:
  • Method Details

    • getOID

      public static org.bouncycastle.asn1.ASN1ObjectIdentifier getOID(int value)
      Return the extension object identifier a registered value stands for, or null if the value is not registered.
    • getValue

      public static Integer getValue(org.bouncycastle.asn1.ASN1ObjectIdentifier oid)
      Return the registered value for an extension object identifier, or null if it is not registered.