Class KeyGenerationRequest

java.lang.Object
com.netscape.certsrv.base.RESTMessage
com.netscape.certsrv.key.KeyGenerationRequest
All Implemented Interfaces:
JSONSerializer
Direct Known Subclasses:
AsymKeyGenerationRequest, SymKeyGenerationRequest

public class KeyGenerationRequest extends RESTMessage
Class to define the common attributes and methods used by SymKeyGenerationRequest and AsymKeyGenerationRequest
Author:
akoneru
  • Field Details

  • Constructor Details

    • KeyGenerationRequest

      public KeyGenerationRequest()
  • Method Details

    • getUsages

      public List<String> getUsages()
    • setUsages

      public void setUsages(List<String> usages)
    • addUsage

      public void addUsage(String usage)
    • getClientKeyId

      public String getClientKeyId()
      Returns:
      the clientKeyId
    • setClientKeyId

      public void setClientKeyId(String clientKeyId)
      Parameters:
      clientKeyId - the clientKeyId to set
    • getKeySize

      public Integer getKeySize()
      Returns:
      the keySize
    • setKeySize

      public void setKeySize(Integer keySize)
      Parameters:
      keySize - the key size to set
    • getKeyAlgorithm

      public String getKeyAlgorithm()
      Returns:
      the keyAlgorithm
    • setKeyAlgorithm

      public void setKeyAlgorithm(String keyAlgorithm)
      Parameters:
      keyAlgorithm - the key algorithm to set
    • getTransWrappedSessionKey

      public String getTransWrappedSessionKey()
      Returns:
      the transWrappedSessionKey
    • setTransWrappedSessionKey

      public void setTransWrappedSessionKey(String transWrappedSessionKey)
      Parameters:
      transWrappedSessionKey - the wrapped seesion key to set
    • getRealm

      public String getRealm()
      Returns:
      the realm
    • setRealm

      public void setRealm(String realm)
      Parameters:
      realm - - authorization realm to set