Package org.bouncycastle.asn1.x509
Class X509Extensions
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.x509.X509Extensions
- All Implemented Interfaces:
ASN1Encodable
public class X509Extensions extends ASN1Object
Deprecated.
use Extensions
-
Field Summary
Fields Modifier and Type Field Description static ASN1ObjectIdentifierAuditIdentityDeprecated.use X509Extension value.static ASN1ObjectIdentifierAuthorityInfoAccessDeprecated.use X509Extension value.static ASN1ObjectIdentifierAuthorityKeyIdentifierDeprecated.use X509Extension value.static ASN1ObjectIdentifierBasicConstraintsDeprecated.use X509Extension value.static ASN1ObjectIdentifierBiometricInfoDeprecated.use X509Extension value.static ASN1ObjectIdentifierCertificateIssuerDeprecated.use X509Extension value.static ASN1ObjectIdentifierCertificatePoliciesDeprecated.use X509Extension value.static ASN1ObjectIdentifierCRLDistributionPointsDeprecated.use X509Extension value.static ASN1ObjectIdentifierCRLNumberDeprecated.use X509Extension value.static ASN1ObjectIdentifierDeltaCRLIndicatorDeprecated.use X509Extension value.static ASN1ObjectIdentifierExtendedKeyUsageDeprecated.use X509Extension value.static ASN1ObjectIdentifierFreshestCRLDeprecated.use X509Extension value.static ASN1ObjectIdentifierInhibitAnyPolicyDeprecated.use X509Extension value.static ASN1ObjectIdentifierInstructionCodeDeprecated.use X509Extension value.static ASN1ObjectIdentifierInvalidityDateDeprecated.use X509Extension value.static ASN1ObjectIdentifierIssuerAlternativeNameDeprecated.use X509Extension value.static ASN1ObjectIdentifierIssuingDistributionPointDeprecated.use X509Extension value.static ASN1ObjectIdentifierKeyUsageDeprecated.use X509Extension value.static ASN1ObjectIdentifierLogoTypeDeprecated.use X509Extension value.static ASN1ObjectIdentifierNameConstraintsDeprecated.use X509Extension value.static ASN1ObjectIdentifierNoRevAvailDeprecated.use X509Extension value.static ASN1ObjectIdentifierPolicyConstraintsDeprecated.use X509Extension value.static ASN1ObjectIdentifierPolicyMappingsDeprecated.use X509Extension value.static ASN1ObjectIdentifierPrivateKeyUsagePeriodDeprecated.use X509Extension value.static ASN1ObjectIdentifierQCStatementsDeprecated.use X509Extension value.static ASN1ObjectIdentifierReasonCodeDeprecated.use X509Extension value.static ASN1ObjectIdentifierSubjectAlternativeNameDeprecated.use X509Extension value.static ASN1ObjectIdentifierSubjectDirectoryAttributesDeprecated.use X509Extension value.static ASN1ObjectIdentifierSubjectInfoAccessDeprecated.use X509Extension value.static ASN1ObjectIdentifierSubjectKeyIdentifierDeprecated.use X509Extension value.static ASN1ObjectIdentifierTargetInformationDeprecated.use X509Extension value. -
Constructor Summary
Constructors Constructor Description X509Extensions(Hashtable extensions)Deprecated.constructor from a table of extensions.X509Extensions(Vector ordering, Hashtable extensions)Deprecated.use ExtensionsX509Extensions(Vector objectIDs, Vector values)Deprecated.use ExtensionsX509Extensions(ASN1Sequence seq)Deprecated.Constructor from ASN1Sequence. -
Method Summary
Modifier and Type Method Description booleanequivalent(X509Extensions other)Deprecated.ASN1ObjectIdentifier[]getCriticalExtensionOIDs()Deprecated.X509ExtensiongetExtension(ASN1ObjectIdentifier oid)Deprecated.X509ExtensiongetExtension(DERObjectIdentifier oid)Deprecated.return the extension represented by the object identifier passed in.ASN1ObjectIdentifier[]getExtensionOIDs()Deprecated.static X509ExtensionsgetInstance(Object obj)Deprecated.static X509ExtensionsgetInstance(ASN1TaggedObject obj, boolean explicit)Deprecated.ASN1ObjectIdentifier[]getNonCriticalExtensionOIDs()Deprecated.Enumerationoids()Deprecated.return an Enumeration of the extension field's object ids.ASN1PrimitivetoASN1Primitive()Deprecated.Extensions ::= SEQUENCE SIZE (1..MAX) OF Extension Extension ::= SEQUENCE { extnId EXTENSION.&id ({ExtensionSet}), critical BOOLEAN DEFAULT FALSE, extnValue OCTET STRING }Methods inherited from class org.bouncycastle.asn1.ASN1Object
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Object
-
Field Details
-
SubjectDirectoryAttributes
Deprecated.use X509Extension value.Subject Directory Attributes -
SubjectKeyIdentifier
Deprecated.use X509Extension value.Subject Key Identifier -
KeyUsage
Deprecated.use X509Extension value.Key Usage -
PrivateKeyUsagePeriod
Deprecated.use X509Extension value.Private Key Usage Period -
SubjectAlternativeName
Deprecated.use X509Extension value.Subject Alternative Name -
IssuerAlternativeName
Deprecated.use X509Extension value.Issuer Alternative Name -
BasicConstraints
Deprecated.use X509Extension value.Basic Constraints -
CRLNumber
Deprecated.use X509Extension value.CRL Number -
ReasonCode
Deprecated.use X509Extension value.Reason code -
InstructionCode
Deprecated.use X509Extension value.Hold Instruction Code -
InvalidityDate
Deprecated.use X509Extension value.Invalidity Date -
DeltaCRLIndicator
Deprecated.use X509Extension value.Delta CRL indicator -
IssuingDistributionPoint
Deprecated.use X509Extension value.Issuing Distribution Point -
CertificateIssuer
Deprecated.use X509Extension value.Certificate Issuer -
NameConstraints
Deprecated.use X509Extension value.Name Constraints -
CRLDistributionPoints
Deprecated.use X509Extension value.CRL Distribution Points -
CertificatePolicies
Deprecated.use X509Extension value.Certificate Policies -
PolicyMappings
Deprecated.use X509Extension value.Policy Mappings -
AuthorityKeyIdentifier
Deprecated.use X509Extension value.Authority Key Identifier -
PolicyConstraints
Deprecated.use X509Extension value.Policy Constraints -
ExtendedKeyUsage
Deprecated.use X509Extension value.Extended Key Usage -
FreshestCRL
Deprecated.use X509Extension value.Freshest CRL -
InhibitAnyPolicy
Deprecated.use X509Extension value.Inhibit Any Policy -
AuthorityInfoAccess
Deprecated.use X509Extension value.Authority Info Access -
SubjectInfoAccess
Deprecated.use X509Extension value.Subject Info Access -
LogoType
Deprecated.use X509Extension value.Logo Type -
BiometricInfo
Deprecated.use X509Extension value.BiometricInfo -
QCStatements
Deprecated.use X509Extension value.QCStatements -
AuditIdentity
Deprecated.use X509Extension value.Audit identity extension in attribute certificates. -
NoRevAvail
Deprecated.use X509Extension value.NoRevAvail extension in attribute certificates. -
TargetInformation
Deprecated.use X509Extension value.TargetInformation extension in attribute certificates.
-
-
Constructor Details
-
X509Extensions
Deprecated.Constructor from ASN1Sequence. the extensions are a list of constructed sequences, either with (OID, OctetString) or (OID, Boolean, OctetString) -
X509Extensions
Deprecated.constructor from a table of extensions.it's is assumed the table contains OID/String pairs.
-
X509Extensions
Deprecated.use ExtensionsConstructor from a table of extensions with ordering.It's is assumed the table contains OID/String pairs.
-
X509Extensions
Deprecated.use ExtensionsConstructor from two vectors- Parameters:
objectIDs- a vector of the object identifiers.values- a vector of the extension values.
-
-
Method Details
-
getInstance
Deprecated. -
getInstance
Deprecated. -
oids
Deprecated.return an Enumeration of the extension field's object ids. -
getExtension
Deprecated.return the extension represented by the object identifier passed in.- Returns:
- the extension if it's present, null otherwise.
-
getExtension
Deprecated.- Parameters:
oid-- Returns:
-
toASN1Primitive
Deprecated.Extensions ::= SEQUENCE SIZE (1..MAX) OF Extension Extension ::= SEQUENCE { extnId EXTENSION.&id ({ExtensionSet}), critical BOOLEAN DEFAULT FALSE, extnValue OCTET STRING }- Specified by:
toASN1Primitivein interfaceASN1Encodable- Specified by:
toASN1Primitivein classASN1Object
-
equivalent
Deprecated. -
getExtensionOIDs
Deprecated. -
getNonCriticalExtensionOIDs
Deprecated. -
getCriticalExtensionOIDs
Deprecated.
-