public class UserNotice extends ASN1Object
UserNotice
class, used in
CertificatePolicies
X509 extensions (in policy
qualifiers).
UserNotice ::= SEQUENCE { noticeRef NoticeReference OPTIONAL, explicitText DisplayText OPTIONAL}
PolicyQualifierId
,
PolicyInformation
Constructor and Description |
---|
UserNotice(NoticeReference noticeRef,
DisplayText explicitText)
Creates a new
UserNotice instance. |
UserNotice(NoticeReference noticeRef,
java.lang.String str)
Creates a new
UserNotice instance. |
Modifier and Type | Method and Description |
---|---|
DisplayText |
getExplicitText() |
static UserNotice |
getInstance(java.lang.Object obj) |
NoticeReference |
getNoticeRef() |
ASN1Primitive |
toASN1Primitive()
Method providing a primitive representation of this object suitable for encoding.
|
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
public UserNotice(NoticeReference noticeRef, DisplayText explicitText)
UserNotice
instance.noticeRef
- a NoticeReference
valueexplicitText
- a DisplayText
valuepublic UserNotice(NoticeReference noticeRef, java.lang.String str)
UserNotice
instance.noticeRef
- a NoticeReference
valuestr
- the explicitText field as a String.public static UserNotice getInstance(java.lang.Object obj)
public NoticeReference getNoticeRef()
public DisplayText getExplicitText()
public ASN1Primitive toASN1Primitive()
ASN1Object
toASN1Primitive
in interface ASN1Encodable
toASN1Primitive
in class ASN1Object