1 /*
2 * Title: S/MIME Project
3 * Description: S/MIME email sending capabilities
4 * @Author Vladimir Radisic
5 * @Version 2.0.1
6 */
7
8 package org.webdocwf.util.smime.der;
9
10
11 import org.webdocwf.util.smime.exception.SMIMEException;
12
13
14 /***
15 * DERSequence is structured type of DER encoded object representing DER
16 * encoded SEQUENCE or SEQUENCE OF tag type in ASN.1 notation. Structured type
17 * means that it is comprised from other structured and/or primitive objects.
18 * Difference bettween DERSequence and DERSequencePr is that class DERSequence
19 * has protected method addContent. Also, DERSequence extends it's super class
20 * DERSequencePr.
21 */
22 public class DERSequence extends DERSequencePr {
23
24 /***
25 * Construction of an empty DER Sequence object
26 * @exception SMIMEException thrown in super class constructor.
27 */
28 public DERSequence() throws SMIMEException {}
29
30 /***
31 * Adds content to DER encoded Sequence object
32 * @param content0 content represented as byte array
33 * @exception SMIMEException thrown in super class constructor.
34 */
35 public void addContent(byte[] content0) throws SMIMEException {
36 super.addContent(content0);
37 }
38 }
39
This page was automatically generated by Maven