Class KeyArchivalRequest

java.lang.Object
com.netscape.certsrv.base.RESTMessage
com.netscape.certsrv.key.KeyArchivalRequest
All Implemented Interfaces:
JSONSerializer

public class KeyArchivalRequest extends RESTMessage
Author:
alee
  • Constructor Details

    • KeyArchivalRequest

      public KeyArchivalRequest()
    • KeyArchivalRequest

      public KeyArchivalRequest(javax.ws.rs.core.MultivaluedMap<String,String> form)
    • KeyArchivalRequest

      public KeyArchivalRequest(RESTMessage data)
  • Method Details

    • getClientKeyId

      public String getClientKeyId()
      Returns:
      the clientKeyID
    • setClientKeyId

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

      public String getDataType()
      Returns:
      the dataType
    • setDataType

      public void setDataType(String dataType)
      Parameters:
      dataType - the dataType to set
    • getTransWrappedSessionKey

      public String getTransWrappedSessionKey()
      Returns:
      the transWrappedSessionKey
    • setTransWrappedSessionKey

      public void setTransWrappedSessionKey(String transWrappedSessionKey)
      Parameters:
      transWrappedSessionKey - the trans wrapped session key to set
    • getPKIArchiveOptions

      public String getPKIArchiveOptions()
      Returns:
      the PKIArchiveOptions structure
    • setPKIArchiveOptions

      public void setPKIArchiveOptions(String pkiArchiveOptions)
      Parameters:
      pkiArchiveOptions - the archive options structure to set
    • getAlgorithmOID

      public String getAlgorithmOID()
      Returns:
      the algorithm OID structure
    • setAlgorithmOID

      public void setAlgorithmOID(String algorithmOID)
      Parameters:
      algorithmOID - the symmetric algorithm OID to set
    • getSymmetricAlgorithmParams

      public String getSymmetricAlgorithmParams()
      Returns:
      the algorithm params structure
    • setSymmetricAlgorithmParams

      public void setSymmetricAlgorithmParams(String params)
      Parameters:
      params - the algorithm params to set
    • getWrappedPrivateData

      public String getWrappedPrivateData()
      Returns:
      the pkiArchiveOptions structure
    • setWrappedPrivateData

      public void setWrappedPrivateData(String wrappedPrivateData)
      Parameters:
      wrappedPrivateData - the wrappedPrivateData to set
    • getKeyAlgorithm

      public String getKeyAlgorithm()
      Returns:
      the keyAlgorithm (valid for symmetric keys)
    • setKeyAlgorithm

      public void setKeyAlgorithm(String algorithm)
      Parameters:
      algorithm - the key algorithm to set (valid for symmetric keys)
    • getKeySize

      public Integer getKeySize()
      Returns:
      the key strength (valid for symmetric keys)
    • setKeySize

      public void setKeySize(Integer keySize)
      Parameters:
      keySize - the key strength to set (valid for symmetric keys)
    • getRealm

      public String getRealm()
      Returns:
      the authentication realm
    • setRealm

      public void setRealm(String realm)
      Parameters:
      realm - - the authentication realm
    • toDOM

      public Element toDOM(Document document)
      Overrides:
      toDOM in class RESTMessage
    • fromDOM

      public static KeyArchivalRequest fromDOM(Element element)
    • fromXML

      public static KeyArchivalRequest fromXML(String xml) throws Exception
      Throws:
      Exception