C D G N S

C

com.atlassian.security.random - package com.atlassian.security.random
 

D

DefaultSecureRandomService - Class in com.atlassian.security.random
Implementation of the SecureRandomService which delegates to a single, shared instance of SecureRandom.
DefaultSecureTokenGenerator - Class in com.atlassian.security.random
Implementation of SecureTokenGenerator which uses the DefaultSecureRandomService for random byte generation.

G

generateToken() - Method in class com.atlassian.security.random.DefaultSecureTokenGenerator
Generates a hexadecimal String representation of 20 random bytes, produced by 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 SecureRandom instance.
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(int) - 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 interface com.atlassian.security.random.SecureRandomService
Returns a pseudorandom, int value 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.

C D G N S

Copyright © 2013 Atlassian. All rights reserved.