Package com.digicert.validation.random
Interface RandomValueGenerator
- All Known Implementing Classes:
BasicRandomValueGenerator
public interface RandomValueGenerator
Interface for generating random values.
This interface provides methods to get the charset used for generating random strings and to generate random alphanumeric strings.
-
Method Summary
Modifier and TypeMethodDescriptionGenerates a random alphanumeric string.Returns the charset used for generating random strings.
-
Method Details
-
getCharset
String getCharset()Returns the charset used for generating random strings.This method provides access to the set of characters that can be used to generate random strings.
- Returns:
- A string representing the charset.
-
generateRandomString
String generateRandomString()Generates a random alphanumeric string.This method is responsible for creating a random string composed of characters from the defined charset.
- Returns:
- A randomly generated alphanumeric string.
-