|
Bouncy Castle Cryptography Library 1.77.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.bouncycastle.asn1.ASN1Object | +--org.bouncycastle.asn1.x509.Extension
an object for the elements in the X.509 V3 extension block.
Field Summary | |
static ASN1ObjectIdentifier |
altSignatureAlgorithm
the algorithm identifier for the alternative digital signature algorithm. |
static ASN1ObjectIdentifier |
altSignatureValue
alternative signature shall be created by the issuer using its alternative private key. |
static ASN1ObjectIdentifier |
auditIdentity
Audit identity extension in attribute certificates. |
static ASN1ObjectIdentifier |
authorityInfoAccess
Authority Info Access |
static ASN1ObjectIdentifier |
authorityKeyIdentifier
Authority Key Identifier |
static ASN1ObjectIdentifier |
basicConstraints
Basic Constraints |
static ASN1ObjectIdentifier |
biometricInfo
BiometricInfo |
static ASN1ObjectIdentifier |
certificateIssuer
Certificate Issuer |
static ASN1ObjectIdentifier |
certificatePolicies
Certificate Policies |
static ASN1ObjectIdentifier |
cRLDistributionPoints
CRL Distribution Points |
static ASN1ObjectIdentifier |
cRLNumber
CRL Number |
static ASN1ObjectIdentifier |
deltaCertificateDescriptor
delta certificate extension - prototype value will change! |
static ASN1ObjectIdentifier |
deltaCRLIndicator
Delta CRL indicator |
static ASN1ObjectIdentifier |
expiredCertsOnCRL
Expired Certificates on CRL extension |
static ASN1ObjectIdentifier |
extendedKeyUsage
Extended Key Usage |
static ASN1ObjectIdentifier |
freshestCRL
Freshest CRL |
static ASN1ObjectIdentifier |
inhibitAnyPolicy
Inhibit Any Policy |
static ASN1ObjectIdentifier |
instructionCode
Hold Instruction Code |
static ASN1ObjectIdentifier |
invalidityDate
Invalidity Date |
static ASN1ObjectIdentifier |
issuerAlternativeName
Issuer Alternative Name |
static ASN1ObjectIdentifier |
issuingDistributionPoint
Issuing Distribution Point |
static ASN1ObjectIdentifier |
keyUsage
Key Usage |
static ASN1ObjectIdentifier |
logoType
Logo Type |
static ASN1ObjectIdentifier |
nameConstraints
Name Constraints |
static ASN1ObjectIdentifier |
noRevAvail
NoRevAvail extension in attribute certificates. |
static ASN1ObjectIdentifier |
policyConstraints
Policy Constraints |
static ASN1ObjectIdentifier |
policyMappings
Policy Mappings |
static ASN1ObjectIdentifier |
privateKeyUsagePeriod
Private Key Usage Period |
static ASN1ObjectIdentifier |
qCStatements
QCStatements |
static ASN1ObjectIdentifier |
reasonCode
Reason code |
static ASN1ObjectIdentifier |
subjectAlternativeName
Subject Alternative Name |
static ASN1ObjectIdentifier |
subjectAltPublicKeyInfo
the subject’s alternative public key information |
static ASN1ObjectIdentifier |
subjectDirectoryAttributes
Subject Directory Attributes |
static ASN1ObjectIdentifier |
subjectInfoAccess
Subject Info Access |
static ASN1ObjectIdentifier |
subjectKeyIdentifier
Subject Key Identifier |
static ASN1ObjectIdentifier |
targetInformation
TargetInformation extension in attribute certificates. |
Constructor Summary | |
Extension(ASN1ObjectIdentifier extnId,
ASN1Boolean critical,
ASN1OctetString value)
Constructor using an ASN1Boolean and an OCTET STRING for the value. |
|
Extension(ASN1ObjectIdentifier extnId,
boolean critical,
ASN1OctetString value)
Constructor using an OCTET STRING for the value. |
|
Extension(ASN1ObjectIdentifier extnId,
boolean critical,
byte[] value)
Constructor using a byte[] for the value. |
Method Summary | |
static Extension |
create(ASN1ObjectIdentifier extnId,
boolean critical,
ASN1Encodable value)
Helper method to create an extension from any ASN.1 encodable object. |
boolean |
equals(java.lang.Object o)
|
ASN1ObjectIdentifier |
getExtnId()
|
ASN1OctetString |
getExtnValue()
|
static Extension |
getInstance(java.lang.Object obj)
|
ASN1Encodable |
getParsedValue()
|
int |
hashCode()
|
boolean |
isCritical()
|
ASN1Primitive |
toASN1Primitive()
Method providing a primitive representation of this object suitable for encoding. |
Methods inherited from class org.bouncycastle.asn1.ASN1Object |
encodeTo, encodeTo, getEncoded, getEncoded, hasEncodedTagValue |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
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 static final ASN1ObjectIdentifier expiredCertsOnCRL
public static final ASN1ObjectIdentifier subjectAltPublicKeyInfo
public static final ASN1ObjectIdentifier altSignatureAlgorithm
public static final ASN1ObjectIdentifier altSignatureValue
public static final ASN1ObjectIdentifier deltaCertificateDescriptor
Constructor Detail |
public Extension(ASN1ObjectIdentifier extnId, ASN1Boolean critical, ASN1OctetString value)
extnId
- the OID associated with this extension.critical
- will evaluate to true if the extension is critical, false otherwise.value
- the extension's value wrapped in an OCTET STRING.public Extension(ASN1ObjectIdentifier extnId, boolean critical, byte[] value)
extnId
- the OID associated with this extension.critical
- true if the extension is critical, false otherwise.value
- the extension's value as a byte[] to be wrapped in an OCTET STRING.public Extension(ASN1ObjectIdentifier extnId, boolean critical, ASN1OctetString value)
extnId
- the OID associated with this extension.critical
- true if the extension is critical, false otherwise.value
- the extension's value wrapped in an OCTET STRING.Method Detail |
public static Extension create(ASN1ObjectIdentifier extnId, boolean critical, ASN1Encodable value) throws java.io.IOException
extnId
- the OID associated with this extension.critical
- true if the extension is critical, false otherwise.value
- the value to be encoded into the extension's OCTET STRING.java.io.IOException
- if the value cannot be encoded into bytes.public static Extension getInstance(java.lang.Object obj)
public ASN1ObjectIdentifier getExtnId()
public boolean isCritical()
public ASN1OctetString getExtnValue()
public ASN1Encodable getParsedValue()
public int hashCode()
hashCode
in class ASN1Object
public boolean equals(java.lang.Object o)
equals
in class ASN1Object
public ASN1Primitive toASN1Primitive()
ASN1Object
toASN1Primitive
in class ASN1Object
org.bouncycastle.asn1.ASN1Object
|
Bouncy Castle Cryptography Library 1.77.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |