Class EPPAuthInfoFactory
java.lang.Object
com.verisign.epp.util.secureauthinfo.EPPAuthInfoFactory
Strong random authorization information factory, that follows section 3.1
"Secure Random Authorization Information" of the EPP Secure Authorization
Information for Transfer draft. There are multiple methods that can be used
to create an authorization information by length, with a passed
Random, and using a defined set of symbols to randomize.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic EPPAuthInfocreateAuthInfo(int aLength) Create anEPPAuthInfoinstance 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, 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 StringcreateAuthInfoPasswordStr(int aLength) Create a strong random authorization information passwordStringvalue,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 StringcreateAuthInfoPasswordStr(int aLength, Random aRandom, char[] aSymbols) Create a strong random authorization information passwordStringvalue using a passed in length,Random, and array of symbols to randomize from.
-
Constructor Details
-
EPPAuthInfoFactory
public EPPAuthInfoFactory()
-
-
Method Details
-
createAuthInfoPassword
public 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.- Parameters:
aLength- Length of random authorization information to create.- Returns:
- Strong random authorization information password
-
createAuthInfoPasswordStr
Create a strong random authorization information passwordStringvalue,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.- Parameters:
aLength- Length of random authorization information to create.- Returns:
- Strong random authorization information password
-
createAuthInfoPassword
Create a strong random authorization information password character array value using a passed in length,Random, and array of symbols to randomize from.- Parameters:
aLength- Length of the authorization information password to create.aRandom-Randominstance to use to randomize the symbols in the authorization information password.aSymbols- The array of symbols to randomize in the authorization information password.- Returns:
- Strong random authorization information password
-
createAuthInfoPasswordStr
Create a strong random authorization information passwordStringvalue using a passed in length,Random, and array of symbols to randomize from.- Parameters:
aLength- Length of the authorization information password to create.aRandom-Randominstance to use to randomize the symbols in the authorization information password.aSymbols- The array of symbols to randomize in the authorization information password.- Returns:
- Strong random authorization information password
-
createAuthInfo
Create anEPPAuthInfoinstance 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).- Parameters:
aLength- Length of the authorization information password to create.- Returns:
EPPAuthInfoinstance with a strong random authorization information value.
-