Class C509ExtensionType
java.lang.Object
org.bouncycastle.cbor.c509.C509ExtensionType
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final intAS Identifiers (1.3.6.1.5.5.7.1.8), RFC 3779.static final intAS Identifiers v2 (1.3.6.1.5.5.7.1.29), RFC 8360.static final intAuthority Information Access (1.3.6.1.5.5.7.1.1).static final intAuthority Key Identifier (2.5.29.35).static final intBasic Constraints (2.5.29.19).static final intCertificate Policies (2.5.29.32).static final intCRL Distribution Points (2.5.29.31).static final intExtended Key Usage (2.5.29.37).static final intFreshest CRL (2.5.29.46).static final intInhibit anyPolicy (2.5.29.54).static final intIPAddrBlocks (1.3.6.1.5.5.7.1.7), RFC 3779.static final intIPAddrBlocks v2 (1.3.6.1.5.5.7.1.28), RFC 8360.static final intIssuer Alternative Name (2.5.29.18).static final intKey Usage (2.5.29.15).static final intName Constraints (2.5.29.30).static final intOCSP No Check (1.3.6.1.5.5.7.48.1.5), RFC 6960.static final intPolicy Constraints (2.5.29.36).static final intPolicy Mappings (2.5.29.33).static final intSubject Alternative Name (2.5.29.17).static final intSubject Directory Attributes (2.5.29.9).static final intSubject Information Access (1.3.6.1.5.5.7.1.11).static final intSubject Key Identifier (2.5.29.14).static final intTLS Features (1.3.6.1.5.5.7.1.24), RFC 7633. -
Method Summary
Modifier and TypeMethodDescriptionstatic org.bouncycastle.asn1.ASN1ObjectIdentifiergetOID(int value) Return the extension object identifier a registered value stands for, or null if the value is not registered.static IntegergetValue(org.bouncycastle.asn1.ASN1ObjectIdentifier oid) Return the registered value for an extension object identifier, or null if it is not registered.
-
Field Details
-
SUBJECT_KEY_IDENTIFIER
public static final int SUBJECT_KEY_IDENTIFIERSubject Key Identifier (2.5.29.14).- See Also:
-
KEY_USAGE
public static final int KEY_USAGEKey Usage (2.5.29.15).- See Also:
-
SUBJECT_ALT_NAME
public static final int SUBJECT_ALT_NAMESubject Alternative Name (2.5.29.17).- See Also:
-
BASIC_CONSTRAINTS
public static final int BASIC_CONSTRAINTSBasic Constraints (2.5.29.19).- See Also:
-
CRL_DISTRIBUTION_POINTS
public static final int CRL_DISTRIBUTION_POINTSCRL Distribution Points (2.5.29.31).- See Also:
-
CERTIFICATE_POLICIES
public static final int CERTIFICATE_POLICIESCertificate Policies (2.5.29.32).- See Also:
-
AUTHORITY_KEY_IDENTIFIER
public static final int AUTHORITY_KEY_IDENTIFIERAuthority Key Identifier (2.5.29.35).- See Also:
-
EXTENDED_KEY_USAGE
public static final int EXTENDED_KEY_USAGEExtended Key Usage (2.5.29.37).- See Also:
-
AUTHORITY_INFO_ACCESS
public static final int AUTHORITY_INFO_ACCESSAuthority Information Access (1.3.6.1.5.5.7.1.1).- See Also:
-
SUBJECT_DIRECTORY_ATTRIBUTES
public static final int SUBJECT_DIRECTORY_ATTRIBUTESSubject Directory Attributes (2.5.29.9).- See Also:
-
ISSUER_ALT_NAME
public static final int ISSUER_ALT_NAMEIssuer Alternative Name (2.5.29.18).- See Also:
-
NAME_CONSTRAINTS
public static final int NAME_CONSTRAINTSName Constraints (2.5.29.30).- See Also:
-
POLICY_MAPPINGS
public static final int POLICY_MAPPINGSPolicy Mappings (2.5.29.33).- See Also:
-
POLICY_CONSTRAINTS
public static final int POLICY_CONSTRAINTSPolicy Constraints (2.5.29.36).- See Also:
-
FRESHEST_CRL
public static final int FRESHEST_CRLFreshest CRL (2.5.29.46).- See Also:
-
INHIBIT_ANY_POLICY
public static final int INHIBIT_ANY_POLICYInhibit anyPolicy (2.5.29.54).- See Also:
-
SUBJECT_INFO_ACCESS
public static final int SUBJECT_INFO_ACCESSSubject Information Access (1.3.6.1.5.5.7.1.11).- See Also:
-
IP_ADDR_BLOCKS
public static final int IP_ADDR_BLOCKSIPAddrBlocks (1.3.6.1.5.5.7.1.7), RFC 3779.- See Also:
-
AS_IDENTIFIERS
public static final int AS_IDENTIFIERSAS 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_V2IPAddrBlocks v2 (1.3.6.1.5.5.7.1.28), RFC 8360.- See Also:
-
AS_IDENTIFIERS_V2
public static final int AS_IDENTIFIERS_V2AS Identifiers v2 (1.3.6.1.5.5.7.1.29), RFC 8360.- See Also:
-
OCSP_NO_CHECK
public static final int OCSP_NO_CHECKOCSP No Check (1.3.6.1.5.5.7.48.1.5), RFC 6960.- See Also:
-
TLS_FEATURES
public static final int TLS_FEATURESTLS 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
Return the registered value for an extension object identifier, or null if it is not registered.
-