Package org.bouncycastle.asn1.x509
Class X509Extension
- java.lang.Object
-
- org.bouncycastle.asn1.x509.X509Extension
-
public class X509Extension extends Object
Deprecated.use Extensionan object for the elements in the X.509 V3 extension block.
-
-
Field Summary
Fields Modifier and Type Field Description static ASN1ObjectIdentifierauditIdentityDeprecated.Audit identity extension in attribute certificates.static ASN1ObjectIdentifierauthorityInfoAccessDeprecated.Authority Info Accessstatic ASN1ObjectIdentifierauthorityKeyIdentifierDeprecated.Authority Key Identifierstatic ASN1ObjectIdentifierbasicConstraintsDeprecated.Basic Constraintsstatic ASN1ObjectIdentifierbiometricInfoDeprecated.BiometricInfostatic ASN1ObjectIdentifiercertificateIssuerDeprecated.Certificate Issuerstatic ASN1ObjectIdentifiercertificatePoliciesDeprecated.Certificate Policiesstatic ASN1ObjectIdentifiercRLDistributionPointsDeprecated.CRL Distribution Pointsstatic ASN1ObjectIdentifiercRLNumberDeprecated.CRL Numberstatic ASN1ObjectIdentifierdeltaCRLIndicatorDeprecated.Delta CRL indicatorstatic ASN1ObjectIdentifierextendedKeyUsageDeprecated.Extended Key Usagestatic ASN1ObjectIdentifierfreshestCRLDeprecated.Freshest CRLstatic ASN1ObjectIdentifierinhibitAnyPolicyDeprecated.Inhibit Any Policystatic ASN1ObjectIdentifierinstructionCodeDeprecated.Hold Instruction Codestatic ASN1ObjectIdentifierinvalidityDateDeprecated.Invalidity Datestatic ASN1ObjectIdentifierissuerAlternativeNameDeprecated.Issuer Alternative Namestatic ASN1ObjectIdentifierissuingDistributionPointDeprecated.Issuing Distribution Pointstatic ASN1ObjectIdentifierkeyUsageDeprecated.Key Usagestatic ASN1ObjectIdentifierlogoTypeDeprecated.Logo Typestatic ASN1ObjectIdentifiernameConstraintsDeprecated.Name Constraintsstatic ASN1ObjectIdentifiernoRevAvailDeprecated.NoRevAvail extension in attribute certificates.static ASN1ObjectIdentifierpolicyConstraintsDeprecated.Policy Constraintsstatic ASN1ObjectIdentifierpolicyMappingsDeprecated.Policy Mappingsstatic ASN1ObjectIdentifierprivateKeyUsagePeriodDeprecated.Private Key Usage Periodstatic ASN1ObjectIdentifierqCStatementsDeprecated.QCStatementsstatic ASN1ObjectIdentifierreasonCodeDeprecated.Reason codestatic ASN1ObjectIdentifiersubjectAlternativeNameDeprecated.Subject Alternative Namestatic ASN1ObjectIdentifiersubjectDirectoryAttributesDeprecated.Subject Directory Attributesstatic ASN1ObjectIdentifiersubjectInfoAccessDeprecated.Subject Info Accessstatic ASN1ObjectIdentifiersubjectKeyIdentifierDeprecated.Subject Key Identifierstatic ASN1ObjectIdentifiertargetInformationDeprecated.TargetInformation extension in attribute certificates.
-
Constructor Summary
Constructors Constructor Description X509Extension(boolean critical, ASN1OctetString value)Deprecated.X509Extension(ASN1Boolean critical, ASN1OctetString value)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ASN1PrimitiveconvertValueToObject(X509Extension ext)Deprecated.Convert the value of the passed in extension to an objectbooleanequals(Object o)Deprecated.Compares this instance with the specified object and indicates if they are equal.ASN1EncodablegetParsedValue()Deprecated.ASN1OctetStringgetValue()Deprecated.inthashCode()Deprecated.Returns an integer hash code for this object.booleanisCritical()Deprecated.
-
-
-
Field Detail
-
subjectDirectoryAttributes
public static final ASN1ObjectIdentifier subjectDirectoryAttributes
Deprecated.Subject Directory Attributes
-
subjectKeyIdentifier
public static final ASN1ObjectIdentifier subjectKeyIdentifier
Deprecated.Subject Key Identifier
-
keyUsage
public static final ASN1ObjectIdentifier keyUsage
Deprecated.Key Usage
-
privateKeyUsagePeriod
public static final ASN1ObjectIdentifier privateKeyUsagePeriod
Deprecated.Private Key Usage Period
-
subjectAlternativeName
public static final ASN1ObjectIdentifier subjectAlternativeName
Deprecated.Subject Alternative Name
-
issuerAlternativeName
public static final ASN1ObjectIdentifier issuerAlternativeName
Deprecated.Issuer Alternative Name
-
basicConstraints
public static final ASN1ObjectIdentifier basicConstraints
Deprecated.Basic Constraints
-
cRLNumber
public static final ASN1ObjectIdentifier cRLNumber
Deprecated.CRL Number
-
reasonCode
public static final ASN1ObjectIdentifier reasonCode
Deprecated.Reason code
-
instructionCode
public static final ASN1ObjectIdentifier instructionCode
Deprecated.Hold Instruction Code
-
invalidityDate
public static final ASN1ObjectIdentifier invalidityDate
Deprecated.Invalidity Date
-
deltaCRLIndicator
public static final ASN1ObjectIdentifier deltaCRLIndicator
Deprecated.Delta CRL indicator
-
issuingDistributionPoint
public static final ASN1ObjectIdentifier issuingDistributionPoint
Deprecated.Issuing Distribution Point
-
certificateIssuer
public static final ASN1ObjectIdentifier certificateIssuer
Deprecated.Certificate Issuer
-
nameConstraints
public static final ASN1ObjectIdentifier nameConstraints
Deprecated.Name Constraints
-
cRLDistributionPoints
public static final ASN1ObjectIdentifier cRLDistributionPoints
Deprecated.CRL Distribution Points
-
certificatePolicies
public static final ASN1ObjectIdentifier certificatePolicies
Deprecated.Certificate Policies
-
policyMappings
public static final ASN1ObjectIdentifier policyMappings
Deprecated.Policy Mappings
-
authorityKeyIdentifier
public static final ASN1ObjectIdentifier authorityKeyIdentifier
Deprecated.Authority Key Identifier
-
policyConstraints
public static final ASN1ObjectIdentifier policyConstraints
Deprecated.Policy Constraints
-
extendedKeyUsage
public static final ASN1ObjectIdentifier extendedKeyUsage
Deprecated.Extended Key Usage
-
freshestCRL
public static final ASN1ObjectIdentifier freshestCRL
Deprecated.Freshest CRL
-
inhibitAnyPolicy
public static final ASN1ObjectIdentifier inhibitAnyPolicy
Deprecated.Inhibit Any Policy
-
authorityInfoAccess
public static final ASN1ObjectIdentifier authorityInfoAccess
Deprecated.Authority Info Access
-
subjectInfoAccess
public static final ASN1ObjectIdentifier subjectInfoAccess
Deprecated.Subject Info Access
-
logoType
public static final ASN1ObjectIdentifier logoType
Deprecated.Logo Type
-
biometricInfo
public static final ASN1ObjectIdentifier biometricInfo
Deprecated.BiometricInfo
-
qCStatements
public static final ASN1ObjectIdentifier qCStatements
Deprecated.QCStatements
-
auditIdentity
public static final ASN1ObjectIdentifier auditIdentity
Deprecated.Audit identity extension in attribute certificates.
-
noRevAvail
public static final ASN1ObjectIdentifier noRevAvail
Deprecated.NoRevAvail extension in attribute certificates.
-
targetInformation
public static final ASN1ObjectIdentifier targetInformation
Deprecated.TargetInformation extension in attribute certificates.
-
-
Constructor Detail
-
X509Extension
public X509Extension(ASN1Boolean critical, ASN1OctetString value)
Deprecated.
-
X509Extension
public X509Extension(boolean critical, ASN1OctetString value)Deprecated.
-
-
Method Detail
-
isCritical
public boolean isCritical()
Deprecated.
-
getValue
public ASN1OctetString getValue()
Deprecated.
-
getParsedValue
public ASN1Encodable getParsedValue()
Deprecated.
-
hashCode
public int hashCode()
Deprecated.Description copied from class:ObjectReturns an integer hash code for this object. By contract, any two objects for whichObject.equals(java.lang.Object)returnstruemust return the same hash code value. This means that subclasses ofObjectusually override both methods or neither method.Note that hash values must not change over time unless information used in equals comparisons also changes.
See Writing a correct
hashCodemethod if you intend implementing your ownhashCodemethod.- Overrides:
hashCodein classObject- Returns:
- this object's hash code.
- See Also:
Object.equals(java.lang.Object)
-
equals
public boolean equals(Object o)
Deprecated.Description copied from class:ObjectCompares this instance with the specified object and indicates if they are equal. In order to be equal,omust represent the same object as this instance using a class-specific comparison. The general contract is that this comparison should be reflexive, symmetric, and transitive. Also, no object reference other than null is equal to null.The default implementation returns
trueonly ifthis == o. See Writing a correctequalsmethod if you intend implementing your ownequalsmethod.The general contract for the
equalsandObject.hashCode()methods is that ifequalsreturnstruefor any two objects, thenhashCode()must return the same value for these objects. This means that subclasses ofObjectusually override either both methods or neither of them.- Overrides:
equalsin classObject- Parameters:
o- the object to compare this instance with.- Returns:
trueif the specified object is equal to thisObject;falseotherwise.- See Also:
Object.hashCode()
-
convertValueToObject
public static ASN1Primitive convertValueToObject(X509Extension ext) throws IllegalArgumentException
Deprecated.Convert the value of the passed in extension to an object- Parameters:
ext- the extension to parse- Returns:
- the object the value string contains
- Throws:
IllegalArgumentException- if conversion is not possible
-
-