Class KeyParameters
java.lang.Object
org.springframework.credhub.support.KeyParameters
- Direct Known Subclasses:
CertificateParameters,RsaParameters,SshParameters
Base class for parameter types that contain specifications for key generation.
- Author:
- Scott Frederick
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreate an emptyKeyParameters.protectedKeyParameters(KeyLength keyLength) Create aKeyParameterswith the specified key length. -
Method Summary
Modifier and TypeMethodDescriptionGet the value of the key length parameter.
-
Field Details
-
keyLength
-
-
Constructor Details
-
KeyParameters
protected KeyParameters()Create an emptyKeyParameters. -
KeyParameters
Create aKeyParameterswith the specified key length.- Parameters:
keyLength- the length of the key to generate
-
-
Method Details
-
getKeyLength
Get the value of the key length parameter.- Returns:
- the value of the parameter; will be null if not explicitly set
-