KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > enhydra > oyster > cms > SignerIdentifier


1 /*
2  * Title: Oyster Project
3  * Description: S/MIME email sending capabilities
4  * @Author Vladimir Radisic
5  * @Version 2.1.5
6  */

7
8
9 package org.enhydra.oyster.cms;
10
11 import org.enhydra.oyster.exception.SMIMEException;
12 import java.security.cert.X509Certificate JavaDoc;
13
14
15 /**
16  * Look for details in super class (IssuerAndSerialNumber).
17  */

18 public class SignerIdentifier extends IssuerAndSerialNumber {
19
20 /**
21  * Construction with information got from specific X509Certificate or from .cer
22  * file information which is extracted into instance of X509Certificate class
23  * @param cert0 X509Certificate
24  * @exception SMIMEException thrown in super class constructor.
25  */

26   public SignerIdentifier (X509Certificate JavaDoc cert0) throws SMIMEException
27   {
28     super(cert0);
29   }
30
31 /**
32  * Returns DER encoded Signer Identifier
33  * @return DER encoded Signer Identifier represented as byte array
34  * @exception SMIMEException thrown in super class getDEREncoded method.
35  */

36   public byte[] getSignIdentifier () throws SMIMEException {
37     return super.getDEREncoded();
38   }
39 }
40
41
42
43
Popular Tags