|
Enhydra-Oyster 2.1-7 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.enhydra.oyster.der.DERObject
org.enhydra.oyster.der.DERSequencePr
org.enhydra.oyster.cms.EncryptedContentInfo
EncryptedContentInfo class is DER encoded Encrypted Content Info represented
in ASN.1 notation according to RFC2630. This class is used for construction
of CMS object for encrypted messages. Between other information, encrypted content
is stored in the object of this class.
Constructor Summary | |
EncryptedContentInfo()
Constructs empty Encrypted Content Info. |
Method Summary | |
void |
addContentType(byte[] contType0)
Adds Content Type |
void |
addEncryptAlgorithmID(byte[] alg0)
Adds Encrypted Algorithm Identifier |
void |
addEncryptContent(byte[] cont0)
Adds Encrypted Content |
Methods inherited from class org.enhydra.oyster.der.DERSequencePr |
addContent |
Methods inherited from class org.enhydra.oyster.der.DERObject |
getContentOctets, getContentPartSize, getDEREncoded, getIdentifierOctet, getLengthOctets, getLengthPartSize, getTagClassType, getTagComplexity, getTagTypeNumber, getTotalSize |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EncryptedContentInfo() throws SMIMEException
SMIMEException
- thrown from super class constructor.Method Detail |
public void addContentType(byte[] contType0) throws SMIMEException
contType0
- Content Type represented as byte array
SMIMEException
- if order of adding components is wrong. Also, it
can be thrown from super class addContent method.public void addEncryptAlgorithmID(byte[] alg0) throws SMIMEException
alg0
- Encrypted Algorithm Identifier represented as byte array
SMIMEException
- if order of adding components is wrong. Also, it
can be thrown from super class addContent method.public void addEncryptContent(byte[] cont0) throws SMIMEException
cont0
- encrypted content as byte array
SMIMEException
- if order of adding components is wrong. Also, it
can be thrown from super class addContent method.
|
Enhydra-Oyster 2.1-7 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |