18#ifndef _DECAF_INTERNAL_SECURITY_PROVIDER_CRYPTO_MD4MESSAGEDIGESTSPI_H_
19#define _DECAF_INTERNAL_SECURITY_PROVIDER_CRYPTO_MD4MESSAGEDIGESTSPI_H_
31 class MD4MessageDigestSpiImpl;
41 MD4MessageDigestSpi(
const MD4MessageDigestSpi&);
42 MD4MessageDigestSpi& operator= (
const MD4MessageDigestSpi&);
44 MD4MessageDigestSpiImpl* impl;
64 virtual void engineUpdate(
const unsigned char* input,
int size,
int offset,
int length);
68 virtual void engineUpdate(
const std::vector<unsigned char>& input);
74 virtual int engineDigest(
unsigned char* buffer,
int size,
int offset,
int length);
virtual void engineUpdate(unsigned char input)
Updates the digest using the specified byte.
virtual void engineUpdate(const std::vector< unsigned char > &input)
Update the digest using the specified Vector of Bytes.
virtual bool isCloneable() const
Queries the SPI implementation and returns true if the SPI can be cloned.
Definition MD4MessageDigestSpi.h:54
virtual void engineUpdate(decaf::nio::ByteBuffer &input)
Update the digest using the specified ByteBuffer.
virtual ~MD4MessageDigestSpi()
virtual void engineUpdate(const unsigned char *input, int size, int offset, int length)
Updates the digest using the specified array of bytes, starting at the specified offset.
virtual void engineReset()
Resets the digest for further use.
virtual std::vector< unsigned char > engineDigest()
Completes the hash computation by performing final operations such as padding.
virtual int engineGetDigestLength()
Returns the digest length in bytes.
virtual int engineDigest(unsigned char *buffer, int size, int offset, int length)
Completes the hash computation by performing final operations such as padding.
virtual MessageDigestSpi * clone()
Returns a clone if the implementation supports being cloned.
This class defines six categories of operations upon byte buffers:
Definition ByteBuffer.h:98
This class defines the Service Provider Interface (SPI) for the MessageDigest class,...
Definition MessageDigestSpi.h:47
#define DECAF_API
Definition Config.h:29
Definition MD4MessageDigestSpi.h:29
Definition MD4MessageDigestSpi.h:28
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
Definition AprPool.h:25