Class KeyData

    • Constructor Detail

      • KeyData

        public KeyData()
    • Method Detail

      • getWrappedPrivateData

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

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

        public java.lang.String getAdditionalWrappedPrivateData()
      • setAdditionalWrappedPrivateData

        public void setAdditionalWrappedPrivateData​(java.lang.String additionalWrappedPrivateData)
      • getNonceData

        public java.lang.String getNonceData()
        Returns:
        the nonceData
      • setNonceData

        public void setNonceData​(java.lang.String nonceData)
        Parameters:
        nonceData - the nonceData to set
      • getP12Data

        public java.lang.String getP12Data()
        Returns:
        the p12Data
      • setP12Data

        public void setP12Data​(java.lang.String p12Data)
        Parameters:
        p12Data - the p12Data to set
      • getAlgorithm

        public java.lang.String getAlgorithm()
        Returns:
        the algorithm
      • setAlgorithm

        public void setAlgorithm​(java.lang.String algorithm)
        Parameters:
        algorithm - the algorithm to set
      • getSize

        public java.lang.Integer getSize()
        Returns:
        the size
      • setSize

        public void setSize​(java.lang.Integer size)
        Parameters:
        size - the size to set
      • getRequestID

        public RequestId getRequestID()
        ID for the recovery request
        Returns:
        recovery request id
      • setRequestID

        public void setRequestID​(RequestId requestID)
        Set request ID
        Parameters:
        requestID -
      • getEncryptAlgorithmOID

        public java.lang.String getEncryptAlgorithmOID()
        Symmetric and Asymmetric keys will be returned either encrypted or wrapped by the client provided symmetric key. Which mechanism is used depends on the capabilities of the server (and the HSM behind it). One (and only one) of encryptionAlgorithm or wrapAlgorithm will be set.
        Returns:
        OID of encryption algorithm used to wrap the secret.
      • setEncryptAlgorithmOID

        public void setEncryptAlgorithmOID​(java.lang.String encryptAlgorithmOID)
      • getWrapAlgorithm

        public java.lang.String getWrapAlgorithm()
        Returns:
        name (as known by JSS) of algorithm used to wrap secret if key wrapping is used
      • setWrapAlgorithm

        public void setWrapAlgorithm​(java.lang.String wrapAlgorithm)
      • getType

        public java.lang.String getType()
      • setType

        public void setType​(java.lang.String type)
      • getPublicKey

        public java.lang.String getPublicKey()
      • setPublicKey

        public void setPublicKey​(java.lang.String publicKey)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object