Class KeyArchivalRequest

    • Constructor Detail

      • KeyArchivalRequest

        public KeyArchivalRequest()
      • KeyArchivalRequest

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

        public KeyArchivalRequest​(RESTMessage data)
    • Method Detail

      • getClientKeyId

        public java.lang.String getClientKeyId()
        Returns:
        the clientKeyID
      • setClientKeyId

        public void setClientKeyId​(java.lang.String clientKeyId)
        Parameters:
        clientKeyId - the clientKeyId to set
      • getDataType

        public java.lang.String getDataType()
        Returns:
        the dataType
      • setDataType

        public void setDataType​(java.lang.String dataType)
        Parameters:
        dataType - the dataType to set
      • getTransWrappedSessionKey

        public java.lang.String getTransWrappedSessionKey()
        Returns:
        the transWrappedSessionKey
      • setTransWrappedSessionKey

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

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

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

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

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

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

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

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

        public void setWrappedPrivateData​(java.lang.String wrappedPrivateData)
        Parameters:
        wrappedPrivateData - the wrappedPrivateData to set
      • getKeyAlgorithm

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

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

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

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

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

        public void setRealm​(java.lang.String realm)
        Parameters:
        realm - - the authentication realm
      • toDOM

        public org.w3c.dom.Element toDOM​(org.w3c.dom.Document document)
        Overrides:
        toDOM in class RESTMessage
      • fromXML

        public static KeyArchivalRequest fromXML​(java.lang.String xml)
                                          throws java.lang.Exception
        Throws:
        java.lang.Exception