|
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.SignedData
SignedData is DER encoded container for information represented in
ASN.1 notation according to RFC2630, used for construction CMS objects
of signed messages.
Constructor Summary | |
SignedData()
Constructs an empty Signed Data |
Method Summary | |
void |
addCertificate(byte[] cert0)
Adds DER encoded Certificate container with one or more X509 certificates |
void |
addCMSVersion(byte[] ver0)
Adds DER encoded CMS Version |
void |
addDigestAlgorithm(byte[] digAlg0)
Adds DER encoded Digest Algorithm Identifier |
void |
addEncapsulatedContentInfo(byte[] encCont0)
Adds DER encoded Encapsulated Content Info |
void |
addSignerInfos(byte[] info0)
Adds DER encoded Signer Infos |
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 SignedData() throws SMIMEException
SMIMEException
- thrown in super class constructor.Method Detail |
public void addCMSVersion(byte[] ver0) throws SMIMEException
ver0
- DER encoded CMS version represented as byte array
SMIMEException
- if order of adding components is wrong. Also,
exception could be thrown in super class addContent method.public void addDigestAlgorithm(byte[] digAlg0) throws SMIMEException
digAlg0
- DER encoded Digest Algorithm Identifier as byte array
SMIMEException
- if order of adding components is wrong. Also,
exception could be thrown in super class addContent method.public void addEncapsulatedContentInfo(byte[] encCont0) throws SMIMEException
encCont0
- DER encoded Encapsulated Content Info as byte array
SMIMEException
- if order of adding components is wrong. Also,
exception could be thrown in super class addContent method.public void addCertificate(byte[] cert0) throws SMIMEException
cert0
- DER encoded Certificate container
SMIMEException
- if order of adding components is wrong. Also,
exception could be thrown in super class addContent method.public void addSignerInfos(byte[] info0) throws SMIMEException
info0
- DER encoded Signer Infos
SMIMEException
- if order of adding components is wrong. Also,
exception could be thrown in 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 |