public class SpUserNotice extends SignaturePolicyQualifierInfo
Modifier and Type | Field and Description |
---|---|
static iaik.asn1.ObjectID |
oid
The identifier of the SpUserNotice.
|
Constructor and Description |
---|
SpUserNotice()
Constructor creating an empty SpUserNotice instance
|
SpUserNotice(iaik.asn1.ASN1Object obj)
Creates an SpUserNotice from its ASN.1 representation.
|
SpUserNotice(java.lang.String explicitText)
Creates an SpUserNotice instance having only the explicit text set.
|
SpUserNotice(java.lang.String explicitText,
java.lang.String noticeRefOrganization,
java.math.BigInteger[] noticeRefNumbers)
Creates an SpUserNotice using the given explicit text and notice
reference.
|
SpUserNotice(java.lang.String explicitText,
java.lang.String noticeRefOrganization,
int[] noticeRefNumbers)
Creates an SpUserNotice using the given explicit text and notice
reference.
|
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) |
java.lang.String |
getExplicitText()
Returns the explicit text.
|
java.math.BigInteger[] |
getNoticeReferenceNumbers()
Returns the notice numbers.
|
java.lang.String |
getNoticeReferenceOrganization()
Returns the notice reference organization.
|
iaik.asn1.ASN1Object |
toASN1Object()
Returns this SignaturePolicyQualifierInfo as ASN1Object.
|
java.lang.String |
toString() |
getSignaturePolicyQualifierInfo, getSigPolicyQualifierId, getSigQualifierValue
public static final iaik.asn1.ObjectID oid
public SpUserNotice(iaik.asn1.ASN1Object obj) throws iaik.asn1.CodingException
obj
- the SpUserNotice as ASN1Objectiaik.asn1.CodingException
public SpUserNotice()
public SpUserNotice(java.lang.String explicitText) throws CmsCadesException
explicitText
- the explicit text for this policy qualifierCmsCadesException
- if the explicit text uses an incorrect encoding or exceeds the length of 200
characterspublic SpUserNotice(java.lang.String explicitText, java.lang.String noticeRefOrganization, int[] noticeRefNumbers) throws CmsCadesException
explicitText
- the explicit text for this policy qualifiernoticeRefOrganization
- the notice reference organizationnoticeRefNumbers
- the notice numbersCmsCadesException
- if the explicit text or the notice reference organization use an incorrect encoding
or exceed the length of 200 characterspublic SpUserNotice(java.lang.String explicitText, java.lang.String noticeRefOrganization, java.math.BigInteger[] noticeRefNumbers) throws CmsCadesException
explicitText
- the explicit text for this policy qualifiernoticeRefOrganization
- the notice reference organizationnoticeRefNumbers
- the notice numbersCmsCadesException
- if the explicit text or the notice reference organization use an incorrect encoding
or exceed the length of 200 characterspublic java.lang.String getExplicitText()
public java.lang.String getNoticeReferenceOrganization()
public java.math.BigInteger[] getNoticeReferenceNumbers()
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 iaik.asn1.ASN1Object toASN1Object() throws iaik.asn1.CodingException
SignaturePolicyQualifierInfo
toASN1Object
in interface iaik.asn1.ASN1Type
toASN1Object
in class SignaturePolicyQualifierInfo
iaik.asn1.CodingException
public boolean equals(java.lang.Object obj)
equals
in class SignaturePolicyQualifierInfo
public java.lang.String toString()
toString
in class SignaturePolicyQualifierInfo