All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class iaik.pkcs.IssuerAndSerialNumber

java.lang.Object
   |
   +----iaik.pkcs.IssuerAndSerialNumber

public class IssuerAndSerialNumber
extends Object
This class implements the PKCS#7 IssuerAndSerialNumber type.


Constructor Index

 o IssuerAndSerialNumber(ASN1Object)
Creates a new IssuerAndSerialNumber from an ASN1Object.
 o IssuerAndSerialNumber(Name, BigInteger)
Creates a new IssuerAndSerialNumber.
 o IssuerAndSerialNumber(X509Certificate)
Creates a new IssuerAndSerialNumber from a certificate.

Method Index

 o toASN1Object()
Returns the this IssuerAndSerialNumber as ASN1Object.
 o toString()
Returns a string that represents the contents of the extensions.

Constructors

 o IssuerAndSerialNumber
 public IssuerAndSerialNumber(Name issuer,
                              BigInteger serialNumber)
Creates a new IssuerAndSerialNumber.

Parameters:
issuer - the issuer
serialNumber - the serial number
 o IssuerAndSerialNumber
 public IssuerAndSerialNumber(X509Certificate cert)
Creates a new IssuerAndSerialNumber from a certificate.

Parameters:
cert - the certificate
 o IssuerAndSerialNumber
 public IssuerAndSerialNumber(ASN1Object obj) throws CodingException
Creates a new IssuerAndSerialNumber from an ASN1Object.

Parameters:
obj - the IssuerAndSerialNumber as ASN1Object
Throws: CodingException
if the ASN1Object could not be parsed

Methods

 o toASN1Object
 public ASN1Object toASN1Object()
Returns the this IssuerAndSerialNumber as ASN1Object.

Returns:
this IssuerAndSerialNumber as ASN1Object
 o toString
 public String toString()
Returns a string that represents the contents of the extensions.

Returns:
the string representation
Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index