Constructors Summary |
---|
public NoticeReference(String orgName, Vector numbers)Creates a new NoticeReference instance.
organization = new DisplayText(orgName);
Object o = numbers.elementAt(0);
ASN1EncodableVector av = new ASN1EncodableVector();
if (o instanceof Integer)
{
Enumeration it = numbers.elements();
while (it.hasMoreElements())
{
Integer nm = (Integer) it.nextElement();
DERInteger di = new DERInteger(nm.intValue());
av.add (di);
}
}
noticeNumbers = new DERSequence(av);
|
public NoticeReference(String orgName, org.bouncycastle.asn1.ASN1Sequence numbers)Creates a new NoticeReference instance.
organization = new DisplayText (orgName);
noticeNumbers = numbers;
|
public NoticeReference(int displayTextType, String orgName, org.bouncycastle.asn1.ASN1Sequence numbers)Creates a new NoticeReference instance.
organization = new DisplayText(displayTextType,
orgName);
noticeNumbers = numbers;
|
public NoticeReference(org.bouncycastle.asn1.ASN1Sequence as)Creates a new NoticeReference instance.
Useful for reconstructing a NoticeReference
instance from its encodable/encoded form.
if (as.size() != 2)
{
throw new IllegalArgumentException("Bad sequence size: "
+ as.size());
}
organization = DisplayText.getInstance(as.getObjectAt(0));
noticeNumbers = ASN1Sequence.getInstance(as.getObjectAt(1));
|