org.bouncycastle.asn1.esf
Class CommitmentTypeQualifier
java.lang.Object
org.bouncycastle.asn1.ASN1Encodable
org.bouncycastle.asn1.esf.CommitmentTypeQualifier
- All Implemented Interfaces:
- DEREncodable
public class CommitmentTypeQualifier
- extends ASN1Encodable
Commitment type qualifiers, used in the Commitment-Type-Indication attribute (RFC3126).
CommitmentTypeQualifier ::= SEQUENCE {
commitmentTypeIdentifier CommitmentTypeIdentifier,
qualifier ANY DEFINED BY commitmentTypeIdentifier OPTIONAL }
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
CommitmentTypeQualifier
public CommitmentTypeQualifier(DERObjectIdentifier commitmentTypeIdentifier)
- Creates a new
CommitmentTypeQualifier
instance.
- Parameters:
commitmentTypeIdentifier
- a CommitmentTypeIdentifier
value
CommitmentTypeQualifier
public CommitmentTypeQualifier(DERObjectIdentifier commitmentTypeIdentifier,
DEREncodable qualifier)
- Creates a new
CommitmentTypeQualifier
instance.
- Parameters:
commitmentTypeIdentifier
- a CommitmentTypeIdentifier
valuequalifier
- the qualifier, defined by the above field.
CommitmentTypeQualifier
public CommitmentTypeQualifier(ASN1Sequence as)
- Creates a new
CommitmentTypeQualifier
instance.
- Parameters:
as
- CommitmentTypeQualifier
structure
encoded as an ASN1Sequence.
getInstance
public static CommitmentTypeQualifier getInstance(java.lang.Object as)
getCommitmentTypeIdentifier
public DERObjectIdentifier getCommitmentTypeIdentifier()
getQualifier
public DEREncodable getQualifier()
toASN1Object
public DERObject toASN1Object()
- Returns a DER-encodable representation of this instance.
- Specified by:
toASN1Object
in class ASN1Encodable
- Returns:
- a
DERObject
value