Class DESede3CBCParameter


public class DESede3CBCParameter
extends DEROctetString

DESede3CBCParameter is parameter used in Content Encryption Algorithm Identifier in CMS object for encrypted message, for DES_EDE3_CBC and DES algorithms. Parameter for those algorithms is made only from initialization vector. Key length is not important.

DESede3CBCParameter ::= IV

IV ::= OCTET STRING -- exactly 8 octets

Constructor Summary
DESede3CBCParameter(byte[] iv0)
          Constructor takes IV (Initialization Vector) as byte array
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 DESede3CBCParameter(byte[] iv0)
                    throws SMIMEException
Constructor takes IV (Initialization Vector) as byte array
iv0 - Initialization Vector
SMIMEException - if Initialization Vector - IV is not 8 bytes long. Also, it can be thrown from super class constructor.

Copyright © 2002-2002 Together Teamlösungen. All Rights Reserved.