|
||||||||||
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.RC2CBCParameter
RC2CBCParameter is parameter used in Content Encryption Algorithm Identifier
in CMS object for encrypted message, for RC2_CBC algorithms. Parameter for
this algorithm is made from initialization vector and key length in bits.
Constructor Summary | |
RC2CBCParameter(int lenKey0,
byte[] iv0)
Constructor takes key length in bits and IV (Initialization Vector) as byte array |
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 RC2CBCParameter(int lenKey0, byte[] iv0) throws SMIMEException
lenKey0
- key lengthiv0
- Initialization VectorSMIMEException
- if Initialization Vector - IV is not 8 bytes long
or key size is not 40, 64 or 128. Also, exception could be thrown in
super class constructor or in super class addContent method.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |