Class EncodedKeySpec

    • Constructor Detail

      • EncodedKeySpec

        public EncodedKeySpec​(byte[] encodedKey)
        Creates a new EncodedKeySpec with the specified encoded key bytes.
        Parameters:
        encodedKey - the encoded key bytes.
    • Method Detail

      • getEncoded

        public byte[] getEncoded()
        Returns the encoded key bytes.
        Returns:
        the encoded key bytes.
      • getFormat

        public abstract String getFormat()
        Returns the name of the encoding format of this encoded key specification.
        Returns:
        the name of the encoding format of this encoded key specification.