KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > enhydra > oyster > der > DEROctetString


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.der;
10
11 import org.enhydra.oyster.exception.SMIMEException;
12
13
14 /**
15  * DEROctetString is primitive type of DER encoded object for representation of
16  * the octet strings (array of bytes) in ASN.1 notation.
17  */

18 public class DEROctetString extends DERObject {
19
20 /**
21  * Creates DER encoded byte array from input byte array
22  * @param octetsString0 byte array for DER encoding
23  * @exception SMIMEException thrown in super class constructor.
24  */

25   public DEROctetString (byte[] octetsString0) throws SMIMEException
26   {
27     super(4, octetsString0);
28   }
29 }
30
31
32
33
Popular Tags