Index
All Classes and Interfaces|All Packages
C
- com.atlassian.security.random - package com.atlassian.security.random
D
- DefaultSecureRandomService - Class in com.atlassian.security.random
-
Implementation of the
SecureRandomServicewhich delegates to a single, shared instance ofSecureRandom. - DefaultSecureTokenGenerator - Class in com.atlassian.security.random
-
Implementation of
SecureTokenGeneratorwhich uses theDefaultSecureRandomServicefor random byte generation.
G
- generateNonce() - Method in class com.atlassian.security.random.DefaultSecureTokenGenerator
-
Generates a base64
Stringrepresentation of 20 random bytes, produced byDefaultSecureRandomService.nextBytes(byte[]). - generateNonce() - Method in interface com.atlassian.security.random.SecureTokenGenerator
-
Generates an randomly generated nonce that is suitable for use as an authentication token.
- generateToken() - Method in class com.atlassian.security.random.DefaultSecureTokenGenerator
-
Generates a hexadecimal
Stringrepresentation of 20 random bytes, produced byDefaultSecureRandomService.nextBytes(byte[]). - generateToken() - Method in interface com.atlassian.security.random.SecureTokenGenerator
-
Generates an randomly generated token that is suitable for use as an authentication token.
- getInstance() - Static method in class com.atlassian.security.random.DefaultSecureRandomService
- getInstance() - Static method in class com.atlassian.security.random.DefaultSecureTokenGenerator
N
- newInstance() - Static method in class com.atlassian.security.random.SecureRandomFactory
-
Creates and fully initialises a new
SecureRandominstance. - nextBoolean() - Method in class com.atlassian.security.random.DefaultSecureRandomService
- nextBoolean() - Method in interface com.atlassian.security.random.SecureRandomService
-
Returns the next pseudorandom
boolean. - nextBytes(byte[]) - Method in class com.atlassian.security.random.DefaultSecureRandomService
- nextBytes(byte[]) - Method in interface com.atlassian.security.random.SecureRandomService
-
Generates a user-specified number of random bytes.
- nextDouble() - Method in class com.atlassian.security.random.DefaultSecureRandomService
- nextDouble() - Method in interface com.atlassian.security.random.SecureRandomService
-
Returns the next pseudorandom
double. - nextFloat() - Method in class com.atlassian.security.random.DefaultSecureRandomService
- nextFloat() - Method in interface com.atlassian.security.random.SecureRandomService
-
Returns the next pseudorandom
float. - nextInt() - Method in class com.atlassian.security.random.DefaultSecureRandomService
- nextInt() - Method in interface com.atlassian.security.random.SecureRandomService
-
Returns the next pseudorandom
int. - nextInt(int) - Method in class com.atlassian.security.random.DefaultSecureRandomService
- nextInt(int) - Method in interface com.atlassian.security.random.SecureRandomService
-
Returns a pseudorandom,
intvalue between 0 (inclusive) and the specified value (exclusive). - nextLong() - Method in class com.atlassian.security.random.DefaultSecureRandomService
- nextLong() - Method in interface com.atlassian.security.random.SecureRandomService
-
Returns the next pseudorandom
long.
S
- SecureRandomFactory - Class in com.atlassian.security.random
-
A factory which returns properly initialised instances of
SecureRandom. - SecureRandomService - Interface in com.atlassian.security.random
-
A generator for random data which is cryptographically secure, based on the same interface as
SecureRandom. - SecureTokenGenerator - Interface in com.atlassian.security.random
-
Generator for randomly generated
Strings which can be used for cryptographically secure tokens.
All Classes and Interfaces|All Packages