Class KeyParameters

java.lang.Object
org.springframework.credhub.support.KeyParameters
Direct Known Subclasses:
CertificateParameters, RsaParameters, SshParameters

public class KeyParameters extends Object
Base class for parameter types that contain specifications for key generation.
Author:
Scott Frederick
  • Field Details

    • keyLength

      protected final KeyLength keyLength
  • Constructor Details

    • KeyParameters

      protected KeyParameters()
      Create an empty KeyParameters.
    • KeyParameters

      protected KeyParameters(KeyLength keyLength)
      Create a KeyParameters with the specified key length.
      Parameters:
      keyLength - the length of the key to generate
  • Method Details

    • getKeyLength

      public Integer getKeyLength()
      Get the value of the key length parameter.
      Returns:
      the value of the parameter; will be null if not explicitly set