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
-
Constructor Summary
ModifierConstructorDescriptionprotected
Create an emptyKeyParameters
.protected
KeyParameters
(KeyLength keyLength) Create aKeyParameters
with 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 aKeyParameters
with 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
-