Searched defs:encrypt (Results 1 - 25 of 31) sorted by relevance

12

/openjdk7/jdk/src/share/classes/com/sun/jmx/snmp/
H A DSnmpEngineParameters.java43 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 DDesCbcCrcEType.java66 * @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 DAes128.java59 public static byte[] encrypt(byte[] baseKey, int usage, method in class:Aes128
62 return CRYPTO.encrypt(baseKey, usage, ivec, null /* new_ivec */,
H A DAes128CtsHmacSha1EType.java74 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 DAes256.java59 public static byte[] encrypt(byte[] baseKey, int usage, method in class:Aes256
62 return CRYPTO.encrypt(baseKey, usage, ivec, null /* new_ivec */,
H A DAes256CtsHmacSha1EType.java74 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 DArcFourHmac.java74 public static byte[] encrypt(byte[] baseKey, int usage, method in class:ArcFourHmac
77 return CRYPTO.encrypt(baseKey, usage, ivec, null /* new_ivec */,
H A DArcFourHmacEType.java74 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 DDes.java185 * @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 DDes3.java62 public static byte[] encrypt(byte[] baseKey, int usage, method in class:Des3
65 return CRYPTO.encrypt(baseKey, usage, ivec, null /* new_ivec */,
H A DDes3CbcHmacSha1KdEType.java68 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 DDesCbcEType.java57 * @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 DNullEType.java73 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 DEType.java137 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 DDirectBBRemaining.java80 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 DCipherBlockChaining.java139 void encrypt(byte[] plain, int plainOffset, int plainLen, method in class:CipherBlockChaining
H A DCipherFeedback.java45 * 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 DElectronicCodeBook.java119 void encrypt(byte[] in, int inOff, int len, byte[] out, int outOff) { method in class:ElectronicCodeBook
H A DOutputFeedback.java100 // 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 DPCBC.java139 void encrypt(byte[] plain, int plainOffset, int plainLen, method in class:PCBC
H A DCounterMode.java126 // 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 DFeedbackCipher.java34 * 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 DEngineOutputRecord.java147 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 DCipherBox.java147 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 DCrypt.java46 * 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);

Completed in 62 milliseconds

12