Contains the functionality for a high level approach to creating InitializationVectors.
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.
Constructs and returns a new InitializationVector object.
A InitializationVectorFactory object is selected based on algorithm.
In case of a conflict between keylength passed into the method and that indicated by algorithm, the length indicated in the string is used.
The default length is used if algorithm is 0.
Parameters:
algorithm - The name of the InitializationVector to construct, eg "DES", "TripleDES".
data - The iv data.
offset - The start, or initial position, of the iv data within the array.
length - The iv length, in bytes, of the selected algorithm.
Returns:
An InitializationVector object.
Throws:
NoSuchAlgorithmException - Thrown if the InitializationVector cannot be
constructed or the specified algorithm is invalid.
Since:
JDE 3.6
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.
Constructs and returns a new InitializationVector object.
A InitializationVectorFactory object is selected based on algorithm.
Parameters:
algorithm - The name of the InitializationVector to construct, eg "DES", "TripleDES".
data - The iv data.
offset - The start, or initial position, of the iv data within the
array.
Returns:
A InitializationVector object.
Throws:
NoSuchAlgorithmException - Thrown if the InitializationVector
cannot be constructed or the specified algorithm is invalid.
Since:
JDE 3.6
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.
Copyright 1999-2002 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved. Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved. Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.