|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.webdocwf.util.smime.der.DERObject | +--org.webdocwf.util.smime.der.DERSequencePr | +--org.webdocwf.util.smime.cms.KeyTransRecipientInfo
KeyTransRecipientInfo class is DER encoded object represented in ASN.1
notation according to RFC2630. It is used for representing information
about particular recipient and for transport encrypted symmetric key.
This class presents one way of transport symmetric key (they are
two more ways). KeyTransRecipientInfo information in ASN.1 notation is
represented as element named RecipientInfo (withouth s at the end!) which
is inner element of RecipientInfos (for details look at RecipientInfo class).
Constructor Summary | |
KeyTransRecipientInfo(byte[] symKey0)
Symmetric key is only important parameter, other can be null. |
Method Summary | |
void |
addRecipient(java.security.cert.X509Certificate recip0)
Adds recipient information. |
Methods inherited from class org.webdocwf.util.smime.der.DERSequencePr |
addContent |
Methods inherited from class org.webdocwf.util.smime.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 KeyTransRecipientInfo(byte[] symKey0) throws SMIMEException
symKey0
- symmetric key represented as byte arrayparameter0
- for future useSMIMEException
- thrown by super class constructor.Method Detail |
public void addRecipient(java.security.cert.X509Certificate recip0) throws SMIMEException
recip0
- X509 certificate of the recipientSMIMEException
- if recipient was already added. Also, exception
could be thrown by super class addContent method.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |