C D G N O R S U
All Classes All Packages
All Classes All Packages
All Classes All Packages
C
- CryptoException - Exception in org.apache.shiro.crypto
-
Base Shiro exception for problems encountered during cryptographic operations.
- CryptoException(String) - Constructor for exception org.apache.shiro.crypto.CryptoException
- CryptoException(String, Throwable) - Constructor for exception org.apache.shiro.crypto.CryptoException
- CryptoException(Throwable) - Constructor for exception org.apache.shiro.crypto.CryptoException
D
- DEFAULT_NEXT_BYTES_SIZE - Static variable in class org.apache.shiro.crypto.SecureRandomNumberGenerator
G
- getDefaultNextBytesSize() - Method in class org.apache.shiro.crypto.SecureRandomNumberGenerator
-
Returns the size of the generated byte array for calls to
nextBytes()
. - getSecureRandom() - Method in class org.apache.shiro.crypto.SecureRandomNumberGenerator
-
Returns the
SecureRandom
backing this instance.
N
- nextBytes() - Method in interface org.apache.shiro.crypto.RandomNumberGenerator
-
Generates a byte array of fixed length filled with random data, often useful for generating salts, initialization vectors or other seed data.
- nextBytes() - Method in class org.apache.shiro.crypto.SecureRandomNumberGenerator
- nextBytes(int) - Method in interface org.apache.shiro.crypto.RandomNumberGenerator
-
Generates a byte array of the specified length filled with random data.
- nextBytes(int) - Method in class org.apache.shiro.crypto.SecureRandomNumberGenerator
O
- org.apache.shiro.crypto - package org.apache.shiro.crypto
R
- RandomNumberGenerator - Interface in org.apache.shiro.crypto
-
A component that can generate random number/byte values as needed.
S
- SecureRandomNumberGenerator - Class in org.apache.shiro.crypto
-
Default implementation of the
RandomNumberGenerator
interface, backed by aSecureRandom
instance. - SecureRandomNumberGenerator() - Constructor for class org.apache.shiro.crypto.SecureRandomNumberGenerator
-
Creates a new instance with a default backing
SecureRandom
and adefaultNextBytesSize
of16
, which equals 128 bits, a size commonly used in cryptographic algorithms. - setDefaultNextBytesSize(int) - Method in class org.apache.shiro.crypto.SecureRandomNumberGenerator
-
Sets the size of the generated byte array for calls to
nextBytes()
. - setSecureRandom(SecureRandom) - Method in class org.apache.shiro.crypto.SecureRandomNumberGenerator
-
Sets the
SecureRandom
to back this instance. - setSeed(byte[]) - Method in class org.apache.shiro.crypto.SecureRandomNumberGenerator
-
Seeds the backing
SecureRandom
instance with additional seed data.
U
- UnknownAlgorithmException - Exception in org.apache.shiro.crypto
-
Exception thrown when attempting to lookup or use a cryptographic algorithm that does not exist in the current JVM environment.
- UnknownAlgorithmException(String) - Constructor for exception org.apache.shiro.crypto.UnknownAlgorithmException
- UnknownAlgorithmException(String, Throwable) - Constructor for exception org.apache.shiro.crypto.UnknownAlgorithmException
- UnknownAlgorithmException(Throwable) - Constructor for exception org.apache.shiro.crypto.UnknownAlgorithmException
All Classes All Packages