Searched defs:cipher (Results 1 - 5 of 5) sorted by relevance
/libcore/ojluni/src/main/java/javax/crypto/ |
H A D | CipherOutputStream.java | 33 * to the underlying OutputStream. The cipher must be fully 36 * <p> For example, if the cipher is initialized for encryption, the 65 // the cipher engine to use to process stream data 66 private Cipher cipher; field in class:CipherOutputStream 84 * <br>Note: if the specified output stream or cipher is 94 cipher = c; 109 cipher = new NullCipher(); 121 obuffer = cipher.update(ibuffer, 0, 1); 158 obuffer = cipher.update(b, off, len); 167 * that have already been processed by the encapsulated cipher objec [all...] |
H A D | CipherInputStream.java | 72 // the cipher engine to use to process stream data 73 private Cipher cipher; field in class:CipherInputStream 79 underlying stream, but have not been processed by the cipher 86 /* the buffer holding data that have been processed by the cipher 119 int expectedOutputSize = cipher.getOutputSize(ibuffer.length); 127 // doFinal resets the cipher and it is the final call that is made. If there isn't 130 ofinish = cipher.doFinal(obuffer, 0); 141 ofinish = cipher.update(ibuffer, 0, readin, obuffer, 0); 146 // Should not reset the value of ofinish as the cipher is still not invalidated. 157 * <br>Note: if the specified input stream or cipher i [all...] |
H A D | EncryptedPrivateKeyInfo.java | 232 * PKCS8EncodedKeySpec object, <code>cipher</code> needs 237 * @param cipher the initialized cipher object which will be 240 * @exception NullPointerException if <code>cipher</code> 242 * @exception InvalidKeySpecException if the given cipher is 246 public PKCS8EncodedKeySpec getKeySpec(Cipher cipher) argument 250 encoded = cipher.doFinal(encryptedData); 294 * cipher to decrypt the encrypted data. 321 * cipher to decrypt the encrypted data. 355 * cipher t [all...] |
/libcore/ojluni/src/main/java/java/security/ |
H A D | Signature.java | 312 // name of the equivalent cipher alg 1427 private final Cipher cipher; field in class:Signature.CipherAdapter 1431 CipherAdapter(Cipher cipher) { argument 1432 this.cipher = cipher; 1437 cipher.init(Cipher.DECRYPT_MODE, publicKey); 1447 cipher.init(Cipher.ENCRYPT_MODE, privateKey); 1453 cipher.init(Cipher.ENCRYPT_MODE, privateKey, random); 1467 byte[] out = cipher.update(b, off, len); 1476 return cipher [all...] |
/libcore/support/src/test/java/libcore/java/security/ |
H A D | StandardNames.java | 46 * client and server auth types, cipher suites. 89 * signaling cipher suite value (SCSV) to indicate that this request is a 731 * either key exchange algorithm part of the cipher suite 791 // TLSv1.2 cipher suites 807 // Pre-Shared Key (PSK) cipher suites 1098 * Asserts that the cipher suites array is non-null and that it 1099 * all of its contents are cipher suites known to this 1100 * implementation. As a convenience, returns any unenabled cipher 1102 * all cipher suites were included. 1118 assertEquals("Unknown cipher suite 1261 getModesForCipher(String cipher) argument 1268 getPaddingsForCipher(String cipher) argument [all...] |
Completed in 79 milliseconds