Class FieldCryptoDemo1

java.lang.Object

public class FieldCryptoDemo1
extends FieldCryptoXmlTxt0
  • Constructor Details

    • FieldCryptoDemo1

      public FieldCryptoDemo1​(CryptoEngine crypto, java.security.Key key, EncryptedFieldTable table) throws java.security.NoSuchAlgorithmException, javax.crypto.NoSuchPaddingException, java.security.InvalidKeyException
      Throws:
      java.security.NoSuchAlgorithmException
      javax.crypto.NoSuchPaddingException
      java.security.InvalidKeyException
  • Method Details

    • decode

      public void decode​(java.io.InputStream in, java.io.OutputStream out)
      Description copied from class: FieldCrypto
      Decode the in stream applying the encryption algorithm to the fields as specified in the table and placing the results on the out stream.
      Overrides:
      decode in class FieldCryptoXmlTxt0
    • encode

      public void encode​(java.io.InputStream in, java.io.OutputStream out)
      Description copied from class: FieldCrypto
      Encode the in stream applying the encryption algorithm to the fields as specified in the table and placing results on the out stream.
      Overrides:
      encode in class FieldCryptoXmlTxt0
    • main

      public static void main​(java.lang.String[] args) throws java.lang.Exception
      The main procedure is used only during development to test some internal methods.
      Parameters:
      args -
      Throws:
      java.lang.Exception