org.apache.geronimo.util.asn1.x509
Class NoticeReference

java.lang.Object
  extended by org.apache.geronimo.util.asn1.ASN1Encodable
      extended by org.apache.geronimo.util.asn1.x509.NoticeReference
All Implemented Interfaces:
DEREncodable

public class NoticeReference
extends ASN1Encodable

NoticeReference class, used in CertificatePolicies X509 V3 extensions (in policy qualifiers).

  NoticeReference ::= SEQUENCE {
      organization     DisplayText,
      noticeNumbers    SEQUENCE OF INTEGER }

 

See Also:
PolicyQualifierInfo, PolicyInformation

Constructor Summary
NoticeReference(ASN1Sequence as)
          Creates a new NoticeReference instance.
NoticeReference(int displayTextType, String orgName, ASN1Sequence numbers)
          Creates a new NoticeReference instance.
NoticeReference(String orgName, ASN1Sequence numbers)
          Creates a new NoticeReference instance.
NoticeReference(String orgName, Vector numbers)
          Creates a new NoticeReference instance.
 
Method Summary
static NoticeReference getInstance(Object as)
           
 DERObject toASN1Object()
          Describe toASN1Object method here.
 
Methods inherited from class org.apache.geronimo.util.asn1.ASN1Encodable
equals, getDERObject, getEncoded, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoticeReference

public NoticeReference(String orgName,
                       Vector numbers)
Creates a new NoticeReference instance.

Parameters:
orgName - a String value
numbers - a Vector value

NoticeReference

public NoticeReference(String orgName,
                       ASN1Sequence numbers)
Creates a new NoticeReference instance.

Parameters:
orgName - a String value
numbers - an ASN1EncodableVector value

NoticeReference

public NoticeReference(int displayTextType,
                       String orgName,
                       ASN1Sequence numbers)
Creates a new NoticeReference instance.

Parameters:
displayTextType - an int value
orgName - a String value
numbers - an ASN1EncodableVector value

NoticeReference

public NoticeReference(ASN1Sequence as)
Creates a new NoticeReference instance.

Useful for reconstructing a NoticeReference instance from its encodable/encoded form.

Parameters:
as - an ASN1Sequence value obtained from either calling @{link toASN1Object()} for a NoticeReference instance or from parsing it from a DER-encoded stream.
Method Detail

getInstance

public static NoticeReference getInstance(Object as)

toASN1Object

public DERObject toASN1Object()
Describe toASN1Object method here.

Specified by:
toASN1Object in class ASN1Encodable
Returns:
a DERObject value


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.