if (as instanceof CommitmentTypeQualifier || as == null)
{
return (CommitmentTypeQualifier)as;
}
else if (as instanceof ASN1Sequence)
{
return new CommitmentTypeQualifier((ASN1Sequence)as);
}
throw new IllegalArgumentException("unknown object in getInstance.");
Returns a DER-encodable representation of this instance.
return
a DERObject value
ASN1EncodableVector dev = new ASN1EncodableVector();
dev.add(commitmentTypeIdentifier);
if (qualifier != null)
{
dev.add(qualifier);
}
return new DERSequence(dev);