18#ifndef _DECAF_INTERNAL_SECURITY_PROVIDER_CRYPTO_MD5MESSAGEDIGESTSPI_H_
19#define _DECAF_INTERNAL_SECURITY_PROVIDER_CRYPTO_MD5MESSAGEDIGESTSPI_H_
31 class MD5MessageDigestSpiImpl;
41 MD5MessageDigestSpi(
const MD5MessageDigestSpi&);
42 MD5MessageDigestSpi& operator= (
const MD5MessageDigestSpi&);
44 MD5MessageDigestSpiImpl* 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 int engineGetDigestLength()
Returns the digest length in bytes.
virtual bool isCloneable() const
Queries the SPI implementation and returns true if the SPI can be cloned.
Definition MD5MessageDigestSpi.h:54
virtual void engineUpdate(decaf::nio::ByteBuffer &input)
Update the digest using the specified ByteBuffer.
virtual void engineUpdate(const std::vector< unsigned char > &input)
Update the digest using the specified Vector of Bytes.
virtual void engineUpdate(unsigned char input)
Updates the digest using the specified byte.
virtual std::vector< unsigned char > engineDigest()
Completes the hash computation by performing final operations such as padding.
virtual int engineDigest(unsigned char *buffer, int size, int offset, int length)
Completes the hash computation by performing final operations such as padding.
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 MessageDigestSpi * clone()
Returns a clone if the implementation supports being cloned.
virtual ~MD5MessageDigestSpi()
virtual void engineReset()
Resets the digest for further use.
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