public interface CipherProvider
Cipher instances. Implementations may cache or pool ciphers to avoid
expensive initialisation overhead. Callers should ensure that they initialise ciphers returned from a cipher provider
before making use of them.| Modifier and Type | Method and Description |
|---|---|
Cipher |
getCipher()
Returns a cipher from the underlying mechanism.
|
Cipher getCipher()
Cipher.init(int, java.security.Key, java.security.AlgorithmParameters)
before making use of the cipher to ensure it is properly initialised.Copyright © 2010–2023 Open Identity Platform Community. All rights reserved.