org.webdocwf.util.smime.cms
Class IssuerAndSerialNumber

java.lang.Object
  |
  +--org.webdocwf.util.smime.der.DERObject
        |
        +--org.webdocwf.util.smime.der.DERSequencePr
              |
              +--org.webdocwf.util.smime.cms.IssuerAndSerialNumber
Direct Known Subclasses:
RecipientIdentifier, SignerIdentifier

public class IssuerAndSerialNumber
extends DERSequencePr

IssuerAndSerialNumber class is DER encoded object represented in ASN.1 notation according to RFC2630. It is used on places where's important to obtain information about particular certificate. It contains issuer's data (name, country etc.) and serial number of the certificate. This class is super class of classes RecipientIdentifier and SignerIdentifier.

IssuerAndSerialNumber ::= SEQUENCE {
issuerName Name,
serialNumber CertificateSerialNumber }

Name ::= CHOICE {
RDNSequence }

RDNSequence ::= SEQUENCE OF RelativeDistinguishedName

RelativeDistinguishedName ::= SET OF AttributeTypeAndValue

AttributeTypeAndValue ::= SEQUENCE {
type AttributeType,
value AttributeValue }

AttributeType ::= OBJECT IDENTIFIER

AttributeValue ::= ANY DEFINED BY AttributeType

DirectoryString ::= CHOICE {
teletexString TeletexString (SIZE (1..MAX)),
printableString PrintableString (SIZE (1..MAX)),
universalString UniversalString (SIZE (1..MAX)),
utf8String UTF8String (SIZE (1.. MAX)),
bmpString BMPString (SIZE (1..MAX)) }

CertificateSerialNumber ::= INTEGER


Constructor Summary
IssuerAndSerialNumber(java.security.cert.X509Certificate cert0)
          Construction with information got from specific X509Certificate or from .cer file information which is extracted into instance of X509Certificate class
 
Methods inherited from class org.webdocwf.util.smime.der.DERSequencePr
addContent
 
Methods inherited from class org.webdocwf.util.smime.der.DERObject
getContentOctets, getContentPartSize, getDEREncoded, getIdentifierOctet, getLengthOctets, getLengthPartSize, getTagClassType, getTagComplexity, getTagTypeNumber, getTotalSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IssuerAndSerialNumber

public IssuerAndSerialNumber(java.security.cert.X509Certificate cert0)
                      throws SMIMEException
Construction with information got from specific X509Certificate or from .cer file information which is extracted into instance of X509Certificate class
Parameters:
cert0 - X509Certificate
Throws:
SMIMEException - thrown from super class constructor or addContent method.


Copyright © 2002-2002 Together Teamlösungen. All Rights Reserved.