Class SecureRandomProvider
java.lang.Object
net.schmizz.sshj.transport.random.SecureRandomProvider
- All Implemented Interfaces:
Random
- Direct Known Subclasses:
BouncyCastleFipsRandom, BouncyCastleRandom, JCERandom
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final org.slf4j.Loggerprivate SecureRandomprivate byte[] -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedSecureRandomProvider(String algorithm, String provider) -
Method Summary
Modifier and TypeMethodDescriptionvoidfill(byte[] bytes) Fill the array of bytes with random values.voidfill(byte[] bytes, int start, int len) Fill part of bytes with random values.private static SecureRandomprivate static SecureRandom
-
Field Details
-
logger
private static final org.slf4j.Logger logger -
tmp
private byte[] tmp -
random
-
-
Constructor Details
-
SecureRandomProvider
protected SecureRandomProvider() -
SecureRandomProvider
-
-
Method Details
-
newRandom
-
newRandom
-
fill
-
fill
-