public class SpDocSpecification extends SignaturePolicyQualifierInfo
Modifier and Type | Field and Description |
---|---|
static iaik.asn1.ObjectID |
oid
The identifier of the signature policy qualifier info type called SpDocSpecification.
|
Constructor and Description |
---|
SpDocSpecification(iaik.asn1.ASN1Object obj)
Creates an SpDocSpecification from its ASN.1 representation.
|
SpDocSpecification(iaik.asn1.IA5String uri)
Creates a new SpDocSpecification instance using the given uri
|
SpDocSpecification(iaik.asn1.ObjectID specOid)
Creates a new SpDocSpecification instance using the given OID
|
Modifier and Type | Method and Description |
---|---|
void |
decode(iaik.asn1.ASN1Object obj)
Decodes the given ASN.1 SignaturePolicyQualifierInfo object.
|
boolean |
equals(java.lang.Object obj) |
iaik.asn1.ASN1Object |
getSigQualifierValue()
Returns this policy qualifier's value (the URI or the OID of the policy's technical
specification) - either of type IA5String or ObjectID.
|
java.lang.String |
toString() |
getSignaturePolicyQualifierInfo, getSigPolicyQualifierId, toASN1Object
public static final iaik.asn1.ObjectID oid
public SpDocSpecification(iaik.asn1.ASN1Object obj) throws iaik.asn1.CodingException
obj
- the SpDocSpecification as ASN1Objectiaik.asn1.CodingException
public SpDocSpecification(iaik.asn1.IA5String uri)
uri
- the URI to the technical specification of the policypublic SpDocSpecification(iaik.asn1.ObjectID specOid)
specOid
- the OID of the technical specification of the policypublic iaik.asn1.ASN1Object getSigQualifierValue()
getSigQualifierValue
in class SignaturePolicyQualifierInfo
public void decode(iaik.asn1.ASN1Object obj) throws iaik.asn1.CodingException
SignaturePolicyQualifierInfo
decode
in interface iaik.asn1.ASN1Type
decode
in class SignaturePolicyQualifierInfo
obj
- the SignaturePolicyQualifierInfo as ASN1Objectiaik.asn1.CodingException
public boolean equals(java.lang.Object obj)
equals
in class SignaturePolicyQualifierInfo
public java.lang.String toString()
toString
in class SignaturePolicyQualifierInfo