Class CipherProvider


  • public class CipherProvider
    extends Object
    Composes a CMM to provide S3 specific functionality
    • Constructor Detail

      • CipherProvider

        public CipherProvider()
    • Method Detail

      • createAndInitCipher

        public static Cipher createAndInitCipher​(CryptographicMaterials materials,
                                                 byte[] iv,
                                                 byte[] messageId)
        Given some materials and an IV, create and init a Cipher object.
        Parameters:
        materials - the materials which dictate e.g. algorithm suite
        iv -
        messageId -
        Returns:
        a Cipher object, initialized and ready to use