Extension
and Extensions
public class X509Extensions extends ASN1Object
Modifier and Type | Field and Description |
---|---|
static ASN1ObjectIdentifier |
AuditIdentity
Deprecated.
use X509Extension value.
|
static ASN1ObjectIdentifier |
AuthorityInfoAccess
Deprecated.
use X509Extension value.
|
static ASN1ObjectIdentifier |
AuthorityKeyIdentifier
Deprecated.
use X509Extension value.
|
static ASN1ObjectIdentifier |
BasicConstraints
Deprecated.
use X509Extension value.
|
static ASN1ObjectIdentifier |
BiometricInfo
Deprecated.
use X509Extension value.
|
static ASN1ObjectIdentifier |
CertificateIssuer
Deprecated.
use X509Extension value.
|
static ASN1ObjectIdentifier |
CertificatePolicies
Deprecated.
use X509Extension value.
|
static ASN1ObjectIdentifier |
CRLDistributionPoints
Deprecated.
use X509Extension value.
|
static ASN1ObjectIdentifier |
CRLNumber
Deprecated.
use X509Extension value.
|
static ASN1ObjectIdentifier |
DeltaCRLIndicator
Deprecated.
use X509Extension value.
|
static ASN1ObjectIdentifier |
ExtendedKeyUsage
Deprecated.
use X509Extension value.
|
static ASN1ObjectIdentifier |
FreshestCRL
Deprecated.
use X509Extension value.
|
static ASN1ObjectIdentifier |
InhibitAnyPolicy
Deprecated.
use X509Extension value.
|
static ASN1ObjectIdentifier |
InstructionCode
Deprecated.
use X509Extension value.
|
static ASN1ObjectIdentifier |
InvalidityDate
Deprecated.
use X509Extension value.
|
static ASN1ObjectIdentifier |
IssuerAlternativeName
Deprecated.
use X509Extension value.
|
static ASN1ObjectIdentifier |
IssuingDistributionPoint
Deprecated.
use X509Extension value.
|
static ASN1ObjectIdentifier |
KeyUsage
Deprecated.
use X509Extension value.
|
static ASN1ObjectIdentifier |
LogoType
Deprecated.
use X509Extension value.
|
static ASN1ObjectIdentifier |
NameConstraints
Deprecated.
use X509Extension value.
|
static ASN1ObjectIdentifier |
NoRevAvail
Deprecated.
use X509Extension value.
|
static ASN1ObjectIdentifier |
PolicyConstraints
Deprecated.
use X509Extension value.
|
static ASN1ObjectIdentifier |
PolicyMappings
Deprecated.
use X509Extension value.
|
static ASN1ObjectIdentifier |
PrivateKeyUsagePeriod
Deprecated.
use X509Extension value.
|
static ASN1ObjectIdentifier |
QCStatements
Deprecated.
use X509Extension value.
|
static ASN1ObjectIdentifier |
ReasonCode
Deprecated.
use X509Extension value.
|
static ASN1ObjectIdentifier |
SubjectAlternativeName
Deprecated.
use X509Extension value.
|
static ASN1ObjectIdentifier |
SubjectDirectoryAttributes
Deprecated.
use X509Extension value.
|
static ASN1ObjectIdentifier |
SubjectInfoAccess
Deprecated.
use X509Extension value.
|
static ASN1ObjectIdentifier |
SubjectKeyIdentifier
Deprecated.
use X509Extension value.
|
static ASN1ObjectIdentifier |
TargetInformation
Deprecated.
use X509Extension value.
|
Constructor and Description |
---|
X509Extensions(ASN1Sequence seq)
Deprecated.
Constructor from ASN1Sequence.
|
X509Extensions(java.util.Hashtable extensions)
Deprecated.
constructor from a table of extensions.
|
X509Extensions(java.util.Vector ordering,
java.util.Hashtable extensions)
Deprecated.
use Extensions
|
X509Extensions(java.util.Vector objectIDs,
java.util.Vector values)
Deprecated.
use Extensions
|
Modifier and Type | Method and Description |
---|---|
boolean |
equivalent(X509Extensions other)
Deprecated.
|
ASN1ObjectIdentifier[] |
getCriticalExtensionOIDs()
Deprecated.
|
X509Extension |
getExtension(ASN1ObjectIdentifier oid)
Deprecated.
return the extension represented by the object identifier
passed in.
|
ASN1ObjectIdentifier[] |
getExtensionOIDs()
Deprecated.
|
static X509Extensions |
getInstance(ASN1TaggedObject obj,
boolean explicit)
Deprecated.
|
static X509Extensions |
getInstance(java.lang.Object obj)
Deprecated.
|
ASN1ObjectIdentifier[] |
getNonCriticalExtensionOIDs()
Deprecated.
|
java.util.Enumeration |
oids()
Deprecated.
return an Enumeration of the extension field's object ids.
|
ASN1Primitive |
toASN1Primitive()
Deprecated.
Extensions ::= SEQUENCE SIZE (1..MAX) OF Extension
Extension ::= SEQUENCE {
extnId EXTENSION.
|
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
public static final ASN1ObjectIdentifier SubjectDirectoryAttributes
public static final ASN1ObjectIdentifier SubjectKeyIdentifier
public static final ASN1ObjectIdentifier KeyUsage
public static final ASN1ObjectIdentifier PrivateKeyUsagePeriod
public static final ASN1ObjectIdentifier SubjectAlternativeName
public static final ASN1ObjectIdentifier IssuerAlternativeName
public static final ASN1ObjectIdentifier BasicConstraints
public static final ASN1ObjectIdentifier CRLNumber
public static final ASN1ObjectIdentifier ReasonCode
public static final ASN1ObjectIdentifier InstructionCode
public static final ASN1ObjectIdentifier InvalidityDate
public static final ASN1ObjectIdentifier DeltaCRLIndicator
public static final ASN1ObjectIdentifier IssuingDistributionPoint
public static final ASN1ObjectIdentifier CertificateIssuer
public static final ASN1ObjectIdentifier NameConstraints
public static final ASN1ObjectIdentifier CRLDistributionPoints
public static final ASN1ObjectIdentifier CertificatePolicies
public static final ASN1ObjectIdentifier PolicyMappings
public static final ASN1ObjectIdentifier AuthorityKeyIdentifier
public static final ASN1ObjectIdentifier PolicyConstraints
public static final ASN1ObjectIdentifier ExtendedKeyUsage
public static final ASN1ObjectIdentifier FreshestCRL
public static final ASN1ObjectIdentifier InhibitAnyPolicy
public static final ASN1ObjectIdentifier AuthorityInfoAccess
public static final ASN1ObjectIdentifier SubjectInfoAccess
public static final ASN1ObjectIdentifier LogoType
public static final ASN1ObjectIdentifier BiometricInfo
public static final ASN1ObjectIdentifier QCStatements
public static final ASN1ObjectIdentifier AuditIdentity
public static final ASN1ObjectIdentifier NoRevAvail
public static final ASN1ObjectIdentifier TargetInformation
public X509Extensions(ASN1Sequence seq)
public X509Extensions(java.util.Hashtable extensions)
it's is assumed the table contains OID/String pairs.
public X509Extensions(java.util.Vector ordering, java.util.Hashtable extensions)
It's is assumed the table contains OID/String pairs.
public X509Extensions(java.util.Vector objectIDs, java.util.Vector values)
objectIDs
- a vector of the object identifiers.values
- a vector of the extension values.public static X509Extensions getInstance(ASN1TaggedObject obj, boolean explicit)
public static X509Extensions getInstance(java.lang.Object obj)
public java.util.Enumeration oids()
public X509Extension getExtension(ASN1ObjectIdentifier oid)
public ASN1Primitive toASN1Primitive()
Extensions ::= SEQUENCE SIZE (1..MAX) OF Extension Extension ::= SEQUENCE { extnId EXTENSION.&id ({ExtensionSet}), critical BOOLEAN DEFAULT FALSE, extnValue OCTET STRING }
toASN1Primitive
in interface ASN1Encodable
toASN1Primitive
in class ASN1Object
public boolean equivalent(X509Extensions other)
public ASN1ObjectIdentifier[] getExtensionOIDs()
public ASN1ObjectIdentifier[] getNonCriticalExtensionOIDs()
public ASN1ObjectIdentifier[] getCriticalExtensionOIDs()