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
9 package org.webdocwf.util.smime.der;
10
11
12 import org.webdocwf.util.smime.exception.SMIMEException;
13
14
15 /***
16 * DERSequencePr is structured type of DER encoded object representing DER
17 * encoded SEQUENCE or SEQUENCE OF tag type in ASN.1 notation. Structured type
18 * means that it is comprised from other structured and/or primitive objects.
19 * Difference bettween DERSequence and DERSequencePr is that class DERSequence
20 * has public method addContent. Also, DERSequence extends it's super class
21 * DERSequencePr.
22 */
23 public class DERSequencePr extends DERObject {
24
25 /***
26 * Construction of an empty DER Sequence object
27 * @exception SMIMEException thrown in super class constructor.
28 */
29 public DERSequencePr() throws SMIMEException {
30 super(48);
31 }
32
33 /***
34 * Adds content to DER encoded Sequence object
35 * @param content0 content represented as byte array
36 * @exception SMIMEException thrown in super class constructor.
37 */
38 protected void addContent(byte[] content0) throws SMIMEException {
39 super.addContent(content0);
40 }
41 }
42
This page was automatically generated by Maven