public class HoldInstructionCode extends V3Extension
HoldInstructionCode Extension.
This CRL entry extension field provides for inclusion of a registered instruction identifier to indicate the action to be taken on encountering a held certificate. It is applicable only in an entry having a certificateHold reason code.
The HoldInstructionCode OID is "2.5.29.23".
The ASN.1 definition of the HoldInstructionCode extension is specified
as follows:
HoldInstruction ::= OBJECT IDENTIFIER
The HoldInstruction field specifies the action to be taken on encountering a held
certificate.
This class provides several methods for getting (but not setting) the component
values of a HoldInstruction extension object.
Copyright 1998 Entrust Technologies Limited.
V3Extension,
X509Certificate| Modifier and Type | Field and Description |
|---|---|
static ObjectID |
oid
Deprecated.
|
critical| Constructor and Description |
|---|
HoldInstructionCode()
Deprecated.
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ObjectID |
getInstructionCode()
Deprecated.
Returns the
instructionCode value of this HoldInstructionCode
extension specifying the action to be taken on encountering a held certificate. |
ObjectID |
getObjectID()
Deprecated.
Returns the object ID of this
HoldInstructionCode extension |
int |
hashCode()
Deprecated.
Returns a hashcode for this identity.
|
void |
init(ASN1Object obj)
Deprecated.
Inits this
HoldInstructionCode implementation with an ASN1Object
representing the value of this extension. |
ASN1Object |
toASN1Object()
Deprecated.
Stub function to meet V3Extension criteria.
|
java.lang.String |
toString()
Deprecated.
Returns a string that represents the contents of this
HoldInstructionCode extension. |
getName, isCritical, setCriticalpublic static final ObjectID oid
public HoldInstructionCode()
Generating a new HoldInstructionCode extension is not supported.
This class is provided for compatibility with existing CRLs only.
public ObjectID getObjectID()
HoldInstructionCode extensiongetObjectID in class V3Extensionpublic void init(ASN1Object obj) throws X509ExtensionException
HoldInstructionCode implementation with an ASN1Object
representing the value of this extension.
The ASN1Object is the extensionValue from ASN.1 type "Extension" representing
the instructionCode value of this extension.
init in class V3Extensionobj - the extensionValue as an ASN1ObjectX509ExtensionException - if the extension could not be parsedpublic ASN1Object toASN1Object()
toASN1Object in class V3Extensionpublic ObjectID getInstructionCode()
instructionCode value of this HoldInstructionCode
extension specifying the action to be taken on encountering a held certificate.instructionCode value.public int hashCode()
hashCode in class V3Extensionpublic java.lang.String toString()
HoldInstructionCode extension.toString in class java.lang.Object