Lines Matching defs:transformation

45  * requested transformation, optionally with a provider. A transformation
56 * A valid transformation would be:
125 * The transformation.
127 private String transformation;
138 * @param transformation
139 * the name of the transformation that this cipher performs.
145 String transformation) {
153 this.transformation = transformation;
158 * Creates a new Cipher for the specified transformation. The installed
160 * transformation. The first found provider providing the transformation is
164 * @param transformation
165 * the name of the transformation to create a cipher for.
166 * @return a cipher for the requested transformation.
169 * <i>transformation</i>, or it is {@code null}, empty or in an
173 * the <i>transformation</i>.
175 public static final Cipher getInstance(String transformation)
177 return getCipher(transformation, null);
181 * Creates a new cipher for the specified transformation provided by the
184 * @param transformation
185 * the name of the transformation to create a cipher for.
187 * the name of the provider to ask for the transformation.
188 * @return a cipher for the requested transformation.
191 * <i>transformation</i>, or it is {@code null}, empty or in an
196 * if the requested padding scheme in the <i>transformation</i>
201 public static final Cipher getInstance(String transformation,
213 return getInstance(transformation, p);
217 * Creates a new cipher for the specified transformation.
219 * @param transformation
220 * the name of the transformation to create a cipher for.
222 * the provider to ask for the transformation.
223 * @return a cipher for the requested transformation.
226 * <i>transformation</i>, or it is {@code null}, empty or in an
229 * if the requested padding scheme in the <i>transformation</i>
234 public static final Cipher getInstance(String transformation,
240 Cipher c = getCipher(transformation, provider);
247 * @param transformation
253 private static synchronized Cipher getCipher(String transformation, Provider provider)
256 if (transformation == null || "".equals(transformation)) { //$NON-NLS-1$
258 transformation));
261 String[] transf = checkTransformation(transformation);
289 throw new NoSuchAlgorithmException(transformation);
311 Cipher c = new Cipher(cspi, engine.provider, transformation);
321 private static String[] checkTransformation(String transformation)
326 for (st = new StringTokenizer(transformation, "/"); st //$NON-NLS-1$
330 transformation));
343 transformation));
348 transformation));
365 * This is the name of the <i>transformation</i> argument used in the
371 return transformation;
434 // return ExemptionMechanism.getInstance(transformation, provider);
833 * Continues a multi-part transformation (encryption or decryption). The
861 * Continues a multi-part transformation (encryption or decryption). The
901 * Continues a multi-part transformation (encryption or decryption). The
934 * Continues a multi-part transformation (encryption or decryption). The
993 * Continues a multi-part transformation (encryption or decryption). The
1030 * Finishes a multi-part transformation (encryption or decryption).
1035 * @return the final bytes from the transformation.
1055 * Finishes a multi-part transformation (encryption or decryption).
1093 * Finishes a multi-part transformation (encryption or decryption).
1100 * @return the final bytes from the transformation.
1120 * Finishes a multi-part transformation (encryption or decryption).
1132 * @return the final bytes from the transformation.
1160 * Finishes a multi-part transformation (encryption or decryption).
1196 * Finishes a multi-part transformation (encryption or decryption).
1244 * Finishes a multi-part transformation (encryption or decryption).
1340 * Returns the maximum key length for the specified transformation.
1342 * @param transformation
1343 * the transformation name.
1346 * if no provider for the specified {@code transformation} can
1349 * if {@code transformation} is {@code null}.
1351 public static final int getMaxAllowedKeyLength(String transformation)
1353 if (transformation == null) {
1356 checkTransformation(transformation);
1363 * transformation. If there is no maximum limit, {@code null} is returned.
1365 * @param transformation
1366 * the transformation name.
1370 * if no provider for the specified {@code transformation} can
1373 * if {@code transformation} is {@code null}.
1376 String transformation) throws NoSuchAlgorithmException {
1377 if (transformation == null) {
1380 checkTransformation(transformation);