org.webdocwf.util.smime.cms
Class IssuerName
java.lang.Object
|
+--org.webdocwf.util.smime.der.DERObject
|
+--org.webdocwf.util.smime.der.DERSequencePr
|
+--org.webdocwf.util.smime.cms.IssuerName
- public class IssuerName
- extends DERSequencePr
IssuerName class is DER encoded object represented in ASN.1 notation
according to RFC2630. It is used for representing information about issuer
of particular certificates. Detail information about ASN.1 notation of
this class can be found in description of ASN.1 notation of IssuerAndSerialNumber.
Constructor Summary |
IssuerName(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 |
Method Summary |
void |
addAllRelativeDN()
Adds all Relative Distinguish Names from certificate to IssuerName |
int |
addParticularRelativeDN(java.lang.String id_at_type0)
Adds particular Relative Distinguish Name from certificate to IssuerName.
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IssuerName
public IssuerName(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
- caused by non SMIMEException which is:
CertificateEncodingException. Also, it can be thrown by super class
constructor.
addAllRelativeDN
public void addAllRelativeDN()
throws SMIMEException
- Adds all Relative Distinguish Names from certificate to IssuerName
- Throws:
SMIMEException
- thrown from super class addContent method.
addParticularRelativeDN
public int addParticularRelativeDN(java.lang.String id_at_type0)
throws SMIMEException
- Adds particular Relative Distinguish Name from certificate to IssuerName.
This method can be called many times, but never if method
addAllRelativeDN was called first
- Parameters:
id_at_type0
- object identifier name of desired Particular Distinguish
Name- Returns:
- Desired Particular Distinguish Name as byte array
- Throws:
SMIMEException
- if method addAllRelativeDN was already performed.
Also it can be caused by non SMIMEException which is:
UnsupportedEncodingException.
Copyright © 2002-2002 Together Teamlösungen. All Rights Reserved.