Lines Matching defs:StreamTransformationFilter
543 StreamTransformationFilter::StreamTransformationFilter(StreamTransformation &c, BufferedTransformation *attachment, BlockPaddingScheme padding, bool allowAuthenticatedSymmetricCipher)
550 throw InvalidArgument("StreamTransformationFilter: please use AuthenticatedEncryptionFilter and AuthenticatedDecryptionFilter for AuthenticatedSymmetricCipher");
555 size_t StreamTransformationFilter::LastBlockSize(StreamTransformation &c, BlockPaddingScheme padding)
565 void StreamTransformationFilter::InitializeDerivedAndReturnNewSizes(const NameValuePairs ¶meters, size_t &firstSize, size_t &blockSize, size_t &lastSize)
576 throw InvalidArgument("StreamTransformationFilter: PKCS_PADDING and ONE_AND_ZEROS_PADDING cannot be used with " + m_cipher.AlgorithmName());
583 void StreamTransformationFilter::FirstPut(const byte *inString)
589 void StreamTransformationFilter::NextPutMultiple(const byte *inString, size_t length)
616 void StreamTransformationFilter::NextPutModifiable(byte *inString, size_t length)
622 void StreamTransformationFilter::LastPut(const byte *inString, size_t length)
650 throw InvalidDataFormat("StreamTransformationFilter: plaintext length is not a multiple of block size and NO_PADDING is specified");
652 throw InvalidCiphertext("StreamTransformationFilter: ciphertext length is not a multiple of block size");
689 throw InvalidCiphertext("StreamTransformationFilter: ciphertext length is not a multiple of block size");
695 throw InvalidCiphertext("StreamTransformationFilter: invalid PKCS #7 block padding found");
703 throw InvalidCiphertext("StreamTransformationFilter: invalid ones-and-zeros padding found");
811 : StreamTransformationFilter(c, attachment, padding, true)
820 StreamTransformationFilter::IsolatedInitialize(parameters);
826 return StreamTransformationFilter::CreatePutSpace(size);
837 return StreamTransformationFilter::Put2(begin, length, messageEnd, blocking);
847 StreamTransformationFilter::LastPut(inString, length);