Class Key

    • Constructor Detail

      • Key

        public Key​(URI uri)
        Parameters:
        uri - a key URI
      • Key

        public Key​(byte[] binary)
        Parameters:
        binary - binary key data
      • Key

        public Key​(byte[] binary,
                   Type contentType)
        Parameters:
        binary - binary key data
        contentType - key MIME type
      • Key

        public Key​(ParameterList params,
                   String value)
        Factory constructor.
        Parameters:
        params - property parameters
        value - string representation of a property value
        Throws:
        org.apache.commons.codec.DecoderException - if the specified string is not a valid key encoding
        URISyntaxException - where the specified string is not a valid URI
      • Key

        public Key​(Group group,
                   ParameterList params,
                   String value)
        Factory constructor.
        Parameters:
        group - property group
        params - property parameters
        value - string representation of a property value
        Throws:
        org.apache.commons.codec.DecoderException - if the specified string is not a valid key encoding
        URISyntaxException - where the specified string is not a valid URI