Class BinarySecret

    • Constructor Detail

      • BinarySecret

        public BinarySecret()
    • Method Detail

      • getSecret

        public byte[] getSecret()
        Returns the secret.
        Returns:
        the secret.
      • setSecret

        public void setSecret​(byte[] secret)
        Sets the secret
        Parameters:
        secret - the secret bytes
      • toDOMElement

        public abstract Element toDOMElement()
                                      throws WSTException
        Returns the DOM Element representation for the binary secret.
        Returns:
        the DOM Element representation for the binary secret.
        Throws:
        com.sun.identity.wss.sts.protocol.WSTException
        WSTException
      • toXMLString

        public abstract String toXMLString()
                                    throws WSTException
        Converts into XML String
        Returns:
        the XML String for BinarySecret.
        Throws:
        WSTException