public class EPPAuthInfoFactory
extends java.lang.Object
Random
, and using a defined set of symbols to randomize.Constructor and Description |
---|
EPPAuthInfoFactory() |
Modifier and Type | Method and Description |
---|---|
static EPPAuthInfo |
createAuthInfo(int aLength)
Create an
EPPAuthInfo instance with a strong random authorization
information value, that follows section 3.1 "Secure Random Authorization
Information" of the EPP Secure Authorization Information for Transfer
draft, using the set of all printable ASCII characters exception space
(0x20). |
static char[] |
createAuthInfoPassword(int aLength)
Create a strong random authorization information password character array
value,that follows section 3.1 "Secure Random Authorization Information"
of the EPP Secure Authorization Information for Transfer draft, using the
set of all printable ASCII characters exception space (0x20), and a
provided length.
|
static char[] |
createAuthInfoPassword(int aLength,
java.util.Random aRandom,
char[] aSymbols)
Create a strong random authorization information password character array
value using a passed in length,
Random , and array of symbols to
randomize from. |
static java.lang.String |
createAuthInfoPasswordStr(int aLength)
Create a strong random authorization information password
String
value,that follows section 3.1 "Secure Random Authorization Information"
of the EPP Secure Authorization Information for Transfer draft, using the
set of all printable ASCII characters exception space (0x20), and a
provided length. |
static java.lang.String |
createAuthInfoPasswordStr(int aLength,
java.util.Random aRandom,
char[] aSymbols)
Create a strong random authorization information password
String
value using a passed in length, Random , and array of symbols to
randomize from. |
public static char[] createAuthInfoPassword(int aLength)
aLength
- Length of random authorization information to create.public static java.lang.String createAuthInfoPasswordStr(int aLength)
String
value,that follows section 3.1 "Secure Random Authorization Information"
of the EPP Secure Authorization Information for Transfer draft, using the
set of all printable ASCII characters exception space (0x20), and a
provided length.aLength
- Length of random authorization information to create.public static char[] createAuthInfoPassword(int aLength, java.util.Random aRandom, char[] aSymbols)
Random
, and array of symbols to
randomize from.aLength
- Length of the authorization information password to create.aRandom
- Random
instance to use to randomize the symbols in the
authorization information password.aSymbols
- The array of symbols to randomize in the authorization
information password.public static java.lang.String createAuthInfoPasswordStr(int aLength, java.util.Random aRandom, char[] aSymbols)
String
value using a passed in length, Random
, and array of symbols to
randomize from.aLength
- Length of the authorization information password to create.aRandom
- Random
instance to use to randomize the symbols in the
authorization information password.aSymbols
- The array of symbols to randomize in the authorization
information password.public static EPPAuthInfo createAuthInfo(int aLength)
EPPAuthInfo
instance with a strong random authorization
information value, that follows section 3.1 "Secure Random Authorization
Information" of the EPP Secure Authorization Information for Transfer
draft, using the set of all printable ASCII characters exception space
(0x20).aLength
- Length of the authorization information password to create.EPPAuthInfo
instance with a strong random authorization
information value.