/openjdk7/jdk/src/share/classes/com/sun/jmx/snmp/ |
H A D | SnmpEngineParameters.java | 43 private boolean encrypt = false; field in class:SnmpEngineParameters 83 this.encrypt = true; 91 this.encrypt = false; 99 return encrypt;
|
/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/crypto/ |
H A D | DesCbcCrcEType.java | 66 * @param key the secret key to encrypt the data. It is also used as initialization vector during cipher block chaining. 71 public byte[] encrypt(byte[] data, byte[] key, int usage) method in class:DesCbcCrcEType 73 return encrypt(data, key, key, usage);
|
H A D | Aes128.java | 59 public static byte[] encrypt(byte[] baseKey, int usage, method in class:Aes128 62 return CRYPTO.encrypt(baseKey, usage, ivec, null /* new_ivec */,
|
H A D | Aes128CtsHmacSha1EType.java | 74 public byte[] encrypt(byte[] data, byte[] key, int usage) method in class:Aes128CtsHmacSha1EType 77 return encrypt(data, key, ivec, usage); 80 public byte[] encrypt(byte[] data, byte[] key, byte[] ivec, int usage) method in class:Aes128CtsHmacSha1EType 83 return Aes128.encrypt(key, usage, ivec, data, 0, data.length);
|
H A D | Aes256.java | 59 public static byte[] encrypt(byte[] baseKey, int usage, method in class:Aes256 62 return CRYPTO.encrypt(baseKey, usage, ivec, null /* new_ivec */,
|
H A D | Aes256CtsHmacSha1EType.java | 74 public byte[] encrypt(byte[] data, byte[] key, int usage) method in class:Aes256CtsHmacSha1EType 77 return encrypt(data, key, ivec, usage); 80 public byte[] encrypt(byte[] data, byte[] key, byte[] ivec, int usage) method in class:Aes256CtsHmacSha1EType 83 return Aes256.encrypt(key, usage, ivec, data, 0, data.length);
|
H A D | ArcFourHmac.java | 74 public static byte[] encrypt(byte[] baseKey, int usage, method in class:ArcFourHmac 77 return CRYPTO.encrypt(baseKey, usage, ivec, null /* new_ivec */,
|
H A D | ArcFourHmacEType.java | 74 public byte[] encrypt(byte[] data, byte[] key, int usage) method in class:ArcFourHmacEType 77 return encrypt(data, key, ivec, usage); 80 public byte[] encrypt(byte[] data, byte[] key, byte[] ivec, int usage) method in class:ArcFourHmacEType 83 return ArcFourHmac.encrypt(key, usage, ivec, data, 0, data.length);
|
H A D | Des.java | 185 * @param key DES the key to encrypt the text. 195 boolean encrypt) throws KrbCryptoException { 213 if (encrypt) 304 * @param key DES key to encrypt the message. 190 cbc_encrypt( byte[] input, byte[] output, byte[] key, byte[] ivec, boolean encrypt) argument
|
H A D | Des3.java | 62 public static byte[] encrypt(byte[] baseKey, int usage, method in class:Des3 65 return CRYPTO.encrypt(baseKey, usage, ivec, null /* new_ivec */,
|
H A D | Des3CbcHmacSha1KdEType.java | 68 public byte[] encrypt(byte[] data, byte[] key, int usage) method in class:Des3CbcHmacSha1KdEType 71 return encrypt(data, key, ivec, usage); 74 public byte[] encrypt(byte[] data, byte[] key, byte[] ivec, int usage) method in class:Des3CbcHmacSha1KdEType 77 return Des3.encrypt(key, usage, ivec, data, 0, data.length);
|
H A D | DesCbcEType.java | 57 * @param key the key to encrypt the data. 63 public byte[] encrypt(byte[] data, byte[] key, int usage) method in class:DesCbcEType 66 return encrypt(data, key, ivec, usage); 72 * @param key the key to encrypt the data. 78 public byte[] encrypt(byte[] data, byte[] key, byte[] ivec, method in class:DesCbcEType
|
H A D | NullEType.java | 73 public byte[] encrypt(byte[] data, byte[] key, int usage) { method in class:NullEType 79 public byte[] encrypt(byte[] data, byte[] key, byte[] ivec, int usage) { method in class:NullEType
|
H A D | EType.java | 137 public abstract byte[] encrypt(byte[] data, byte[] key, int usage) method in class:EType 140 public abstract byte[] encrypt(byte[] data, byte[] key, byte[] ivec, method in class:EType
|
/openjdk7/jdk/test/javax/crypto/CipherSpi/ |
H A D | DirectBBRemaining.java | 80 encrypt(cipher, size, 107 private static void encrypt(Cipher cipher, int size, method in class:DirectBBRemaining 115 // Set up data and encrypt to known/expected values.
|
/openjdk7/jdk/src/share/classes/com/sun/crypto/provider/ |
H A D | CipherBlockChaining.java | 139 void encrypt(byte[] plain, int plainOffset, int plainLen, method in class:CipherBlockChaining
|
H A D | CipherFeedback.java | 45 * encrypt/decrypt output buffer 101 // always encrypt mode for embedded cipher 154 void encrypt(byte[] plain, int plainOffset, int plainLen, method in class:CipherFeedback
|
H A D | ElectronicCodeBook.java | 119 void encrypt(byte[] in, int inOff, int len, byte[] out, int outOff) { method in class:ElectronicCodeBook
|
H A D | OutputFeedback.java | 100 // always encrypt mode for embedded cipher 153 void encrypt(byte[] plain, int plainOffset, int plainLen, method in class:OutputFeedback 226 // OFB encrypt and decrypt are identical 227 encrypt(cipher, cipherOffset, cipherLen, plain, plainOffset);
|
H A D | PCBC.java | 139 void encrypt(byte[] plain, int plainOffset, int plainLen, method in class:PCBC
|
H A D | CounterMode.java | 126 // always encrypt mode for embedded cipher 153 void encrypt(byte[] in, int inOff, int len, byte[] out, int outOff) { method in class:CounterMode
|
H A D | FeedbackCipher.java | 34 * the capability to encrypt amounts of data larger than a single block. 137 abstract void encrypt(byte[] plain, int plainOffset, int plainLen, method in class:FeedbackCipher 144 * the same as <code>encrypt(...)</code>. Given most modes do 146 * to simply call <code>encrypt(...)</code>. 157 encrypt(plain, plainOffset, plainLen, cipher, cipherOffset); 184 * the same as <code>encrypt(...)</code>. Given most modes do
|
/openjdk7/jdk/src/share/classes/sun/security/ssl/ |
H A D | EngineOutputRecord.java | 147 void encrypt(CipherBox box, ByteBuffer bb) { method in class:EngineOutputRecord 148 box.encrypt(bb); 171 * We MAC/encrypt, then send down for processing. 199 encrypt(writeCipher); 297 * "flip" but skip over header again, add MAC & encrypt 310 encrypt(writeCipher, dstBB); 335 * Position was already set by encrypt() above.
|
H A D | CipherBox.java | 147 boolean encrypt) throws NoSuchAlgorithmException { 151 int mode = encrypt ? Cipher.ENCRYPT_MODE : Cipher.DECRYPT_MODE; 200 boolean encrypt) throws NoSuchAlgorithmException { 208 return new CipherBox(version, cipher, key, iv, random, encrypt); 233 int encrypt(byte[] buf, int offset, int len) { method in class:CipherBox 288 * to encrypt. On return, the position and limit are 292 int encrypt(ByteBuffer bb) { method in class:CipherBox 145 CipherBox(ProtocolVersion protocolVersion, BulkCipher bulkCipher, SecretKey key, IvParameterSpec iv, SecureRandom random, boolean encrypt) argument 198 newCipherBox(ProtocolVersion version, BulkCipher cipher, SecretKey key, IvParameterSpec iv, SecureRandom random, boolean encrypt) argument
|
/openjdk7/jdk/src/share/classes/com/sun/security/auth/module/ |
H A D | Crypt.java | 46 * the key to encrypt repeatedly a constant string. The 225 private void encrypt(byte[] block,int fake) { method in class:Crypt 292 * @param pw the password to "encrypt". 343 encrypt(block,0);
|