public class CRLHoldInstructionExtension extends X509Extension
id_netscape_ce, id_netscape_ce_type, id_set_ce, id_set_ce_type, isDecoded
Constructor and Description |
---|
CRLHoldInstructionExtension()
Create a new extension with the appropriate OID type.
|
CRLHoldInstructionExtension(ASN1ObjectID holdInstruction)
Creates a new extension with the given hold instruction.
|
CRLHoldInstructionExtension(ASN1ObjectID holdInstruction,
boolean critical)
Creates a new extension with the given hold instruction and critical value.
|
Modifier and Type | Method and Description |
---|---|
ASN1ObjectID |
getHoldInstruction()
Gets the hold instruction code.
|
java.lang.String |
toString()
Returns a string representation of this object.
|
getCritical, getType, getValue, input, inputInstance, isRecognized, length, output, readExternal, setCritical, setValue, writeExternal
public CRLHoldInstructionExtension()
Note: An object created using this constructor may not
be in a valid state. This constructor is intended primarily
for use in conjunction with the X509Extension.input(java.io.InputStream)
method.
public CRLHoldInstructionExtension(ASN1ObjectID holdInstruction)
holdInstruction
- The hold instruction code.public CRLHoldInstructionExtension(ASN1ObjectID holdInstruction, boolean critical)
holdInstruction
- The hold instruction code.critical
- true
if this extension is critical,
false
otherwise.public ASN1ObjectID getHoldInstruction()
public java.lang.String toString()
X509Extension
toString
in class X509Extension