org.mozilla.jss.pkcs7
Class IssuerAndSerialNumber
java.lang.Object
org.mozilla.jss.pkcs7.IssuerAndSerialNumber
- ASN1Value
public class IssuerAndSerialNumber
extends java.lang.Object
An issuer name and serial number, used to uniquely identify a certificate.
IssuerAndSerialNumber
public IssuerAndSerialNumber(Name issuer,
INTEGER serialNumber)
Constructs an IssuerAndSerialNumber from its components.
issuer
- Must not be null.serialNumber
- must not be null.
encode
public void encode(OutputStream ostream)
throws IOException
Write this value's DER encoding to an output stream using
its own base tag.
- encode in interface ASN1Value
encode
public void encode(Tag implicitTag,
OutputStream ostream)
throws IOException
Write this value's DER encoding to an output stream using
an implicit tag.
- encode in interface ASN1Value
getIssuer
public Name getIssuer()
getSerialNumber
public INTEGER getSerialNumber()
getTag
public Tag getTag()
Returns the base tag for this type, not counting any tags
that may be imposed on it by its context.
- getTag in interface ASN1Value