Searched refs:transformation (Results 1 - 25 of 26) sorted by relevance

12

/openjdk10/jdk/test/com/sun/crypto/provider/Cipher/AES/
H A DTest4512704.java47 String transformation = ALGO + "/" + mode + "/"+PADDING;
48 Cipher ci = Cipher.getInstance(transformation, "SunJCE");
59 System.out.println(transformation + ": Passed");
H A DTest4512524.java47 String transformation = ALGO+"/"+mode+"/"+PADDING;
48 Cipher ci = Cipher.getInstance(transformation, "SunJCE");
63 System.out.println(transformation + ": Passed");
H A DTest4626070.java40 String transformation = ALGO + "/" + mode + "/" + padding;
41 Cipher ci = Cipher.getInstance(transformation, "SunJCE");
59 System.out.println(transformation + ": Passed");
H A DTestKATForECB_IV.java85 String transformation = ALGO+"/"+MODE+"/"+PADDING;
86 Cipher c = Cipher.getInstance(transformation, "SunJCE");
90 Cipher.getMaxAllowedKeyLength(transformation)) {
H A DTest4517355.java49 String transformation = ALGO + "/" + mode + "/" + padding;
51 Cipher ci = Cipher.getInstance(transformation, "SunJCE");
91 System.out.println(transformation + ": Passed");
H A DTestKATForECB_VK.java709 String transformation = ALGO+"/"+MODE+"/"+PADDING;
710 Cipher c = Cipher.getInstance(transformation, "SunJCE");
714 Cipher.getMaxAllowedKeyLength(transformation)) {
H A DTestKATForECB_VT.java515 String transformation = ALGO+"/"+MODE+"/"+PADDING;
516 Cipher c = Cipher.getInstance(transformation, "SunJCE");
520 Cipher.getMaxAllowedKeyLength(transformation)) {
H A DTestCopySafe.java65 String transformation = "AES/" + mode + "/NoPadding";
72 Cipher c = Cipher.getInstance(transformation, p);
73 System.out.println("Testing " + transformation + ":");
/openjdk10/jdk/test/sun/security/pkcs11/Cipher/
H A DTestPKCS5PaddingError.java46 String transformation; field in class:TestPKCS5PaddingError.CI
49 CI(String transformation, String keyAlgo) { argument
50 this.transformation = transformation;
75 System.out.println("===" + currTest.transformation + "===");
80 Cipher c1 = Cipher.getInstance(currTest.transformation,
85 Cipher c2 = Cipher.getInstance(currTest.transformation, p);
H A DTestSymmCiphers.java50 String transformation; field in class:TestSymmCiphers.CI
54 CI(String transformation, String keyAlgo, int dataSize) { argument
55 this.transformation = transformation;
98 System.out.println("===" + currTest.transformation + "===");
103 Cipher c1 = Cipher.getInstance(currTest.transformation, p);
104 Cipher c2 = Cipher.getInstance(currTest.transformation,
H A DTestSymmCiphersNoPad.java52 String transformation; field in class:TestSymmCiphersNoPad.CI
56 CI(String transformation, String keyAlgo, int dataSize) { argument
57 this.transformation = transformation;
83 System.out.println("===" + currTest.transformation + "===");
88 Cipher c1 = Cipher.getInstance(currTest.transformation, p);
89 Cipher c2 = Cipher.getInstance(currTest.transformation,
/openjdk10/jdk/src/java.base/share/classes/javax/crypto/
H A DCipher.java56 * requested <i>transformation</i> to it. Optionally, the name of a provider
59 * <p>A <i>transformation</i> is a string that describes the operation (or
61 * output. A transformation always includes the name of a cryptographic
65 * <p> A transformation is of the form:
75 * For example, the following is a valid transformation:
219 // The transformation
220 private String transformation; field in class:Cipher
263 * @param transformation the transformation
267 String transformation) {
265 Cipher(CipherSpi cipherSpi, Provider provider, String transformation) argument
287 Cipher(CipherSpi cipherSpi, String transformation) argument
294 Cipher(CipherSpi firstSpi, Service firstService, Iterator<Service> serviceIterator, String transformation, List<Transform> transforms) argument
305 tokenizeTransformation(String transformation) argument
430 getTransforms(String transformation) argument
511 getInstance(String transformation) argument
598 getInstance(String transformation, String provider) argument
655 getInstance(String transformation, Provider provider) argument
2608 getConfiguredPermission( String transformation) argument
2633 getMaxAllowedKeyLength(String transformation) argument
2657 getMaxAllowedParameterSpec( String transformation) argument
[all...]
/openjdk10/jdk/test/com/sun/crypto/provider/CICO/PBEFunc/
H A DAbstractPBEWrapper.java40 * transformation the name of the transformation, e.g.,
43 protected final String transformation; field in class:AbstractPBEWrapper
89 this.transformation = algo.getTransformation();
H A DDefaultPBEWrapper.java67 Cipher ci = Cipher.getInstance(transformation, provider);
H A DAESPBEWrapper.java77 Cipher ci = Cipher.getInstance(transformation, provider);
/openjdk10/jdk/test/com/sun/crypto/provider/Cipher/Blowfish/
H A DBlowfishTestVector.java71 String transformation = "Blowfish/ECB/NoPadding";
72 Cipher cipher = Cipher.getInstance(transformation, "SunJCE");
73 int MAX_KEY_SIZE = Cipher.getMaxAllowedKeyLength(transformation);
/openjdk10/jdk/test/com/sun/crypto/provider/Cipher/KeyWrap/
H A DTestCipherKeyWrapperTest.java199 String transformation = algorithm + "/" + mode + "/"
202 out.println(transformation
215 wrapTest(transformation, transformation, key, key,
274 private void wrapTest(String transformation, String wrapAlgo, Key initKey, argument
279 String algo = transformation.split("/")[0];
313 + transformation + ":" + wrapAlgo + ":" + keyType);
/openjdk10/jdk/test/com/sun/crypto/provider/Cipher/AES/TestAESCiphers/
H A DDynamic.java130 String transformation = algo + "/" + mo + "/" + pad;
131 ci = Cipher.getInstance(transformation, SUNJCE);
133 if (keyStrength > Cipher.getMaxAllowedKeyLength(transformation)) {
/openjdk10/jdk/src/java.base/share/classes/sun/security/ssl/
H A DJsseJce.java115 * JCE transformation string for RSA with PKCS#1 v1.5 padding.
120 * JCE transformation string for the stream cipher RC4.
124 * JCE transformation string for DES in CBC mode without padding.
128 * JCE transformation string for (3-key) Triple DES in CBC mode
133 * JCE transformation string for AES in CBC mode
138 * JCE transformation string for AES in GCM mode
190 static Cipher getCipher(String transformation) argument
194 return Cipher.getInstance(transformation);
196 return Cipher.getInstance(transformation, cryptoProvider);
H A DCipherSuite.java471 // JCE cipher transformation string, e.g. AES/CBC/NoPadding
472 final String transformation; field in class:CipherSuite.BulkCipher
522 BulkCipher(String transformation, CipherType cipherType, int keySize, argument
526 this.transformation = transformation;
527 String[] splits = transformation.split("/");
548 allowed ? isUnlimited(keySize, transformation) : false;
551 BulkCipher(String transformation, CipherType cipherType, int keySize, argument
553 this.transformation = transformation;
598 isUnlimited(int keySize, String transformation) argument
[all...]
H A DSSLAlgorithmDecomposer.java143 if (bulkCipher.transformation != null) {
144 components.addAll(super.decompose(bulkCipher.transformation));
/openjdk10/jdk/src/java.xml.crypto/share/classes/com/sun/org/apache/xml/internal/security/encryption/
H A DXMLCipher.java278 * @param transformation the name of the transformation, e.g.,
282 * @param provider the JCE provider that supplies the transformation,
289 String transformation,
300 algorithm = transformation;
323 if (transformation != null) {
324 contextCipher = constructCipher(transformation, digestMethod);
355 * Validate the transformation argument of getInstance or getProviderInstance
357 * @param transformation the name of the transformation,
288 XMLCipher( String transformation, String provider, String canonAlg, String digestMethod ) argument
361 validateTransformation(String transformation) argument
398 getInstance(String transformation) argument
419 getInstance(String transformation, String canon) argument
442 getInstance(String transformation, String canon, String digestMethod) argument
460 getProviderInstance(String transformation, String provider) argument
486 getProviderInstance( String transformation, String provider, String canon ) argument
514 getProviderInstance( String transformation, String provider, String canon, String digestMethod ) argument
[all...]
/openjdk10/jdk/test/com/sun/crypto/provider/Cipher/AEAD/
H A DSameBuffer.java53 private final String transformation; field in class:SameBuffer
74 this.transformation = algorithm + "/" + mode + "/" + padding;
405 Cipher cipher = Cipher.getInstance(transformation, provider);
H A DEncrypt.java45 * - instantiate a cipher according to the GCM transformation
93 private final String transformation; field in class:Encrypt
118 this.transformation = algorithm + "/" + mode + "/" + padding;
151 System.out.println("Test transformation = " + transformation
175 ci = Cipher.getInstance(transformation, provider);
187 ci = Cipher.getInstance(transformation, provider);
/openjdk10/jdk/src/java.base/share/classes/com/sun/crypto/provider/
H A DKeyProtector.java357 * @param transformation the transformation
361 String transformation) {
362 super(cipherSpi, provider, transformation);
359 CipherForKeyProtector(CipherSpi cipherSpi, Provider provider, String transformation) argument

Completed in 221 milliseconds

12