[ImageMagick] [sponsor]

AcquireSignatureInfo

AcquireSignatureInfo() allocate the SignatureInfo structure.

The format of the AcquireSignatureInfo method is:

  SignatureInfo *AcquireSignatureInfo(void)

DestroySignatureInfo

DestroySignatureInfo() zeros memory associated with the SignatureInfo structure.

The format of the DestroySignatureInfo method is:

  SignatureInfo *DestroySignatureInfo(SignatureInfo *signature_info)

A description of each parameter follows:

signature_info

    the cipher signature_info.

FinalizeSignature

FinalizeSignature() finalizes the Signature message accumulator computation.

The format of the FinalizeSignature method is:

  FinalizeSignature(SignatureInfo *signature_info)

A description of each parameter follows:

signature_info

    the address of a structure of type SignatureInfo.

GetSignatureBlocksize

GetSignatureBlocksize() returns the Signature blocksize.

The format of the GetSignatureBlocksize method is:

  unsigned int *GetSignatureBlocksize(const SignatureInfo *signature_info)

A description of each parameter follows:

signature_info

    the sha256 info.

GetSignatureDigest

GetSignatureDigest() returns the signature digest.

The format of the GetSignatureDigest method is:

  const StringInfo *GetSignatureDigest(const SignatureInfo *signature_info)

A description of each parameter follows:

signature_info

    the sha256 info.

GetSignatureDigestsize

GetSignatureDigestsize() returns the Signature digest size.

The format of the GetSignatureDigestsize method is:

  unsigned int *GetSignatureDigestsize(const SignatureInfo *signature_info)

A description of each parameter follows:

signature_info

    the sha256 info.

IntializeSignature

IntializeSignature() intializes the Signature accumulator.

The format of the DestroySignatureInfo method is:

  void InitializeSignatureInfo(SignatureInfo *signature_info)

A description of each parameter follows:

signature_info

    the cipher signature_info.

SetSignatureDigest

SetSignatureDigest() set the signature digest.

The format of the SetSignatureDigest method is:

  SetSignatureDigest(SignatureInfo *signature_info,
    const StringInfo *digest)

A description of each parameter follows:

signature_info

    the signature info.

digest

    the digest.

SignatureImage

SignatureImage() computes a message digest from an image pixel stream with an implementation of the NIST SHA-256 Message Digest algorithm. This signature uniquely identifies the image and is convenient for determining if an image has been modified or whether two images are identical.

The format of the SignatureImage method is:

  MagickBooleanType SignatureImage(Image *image)

A description of each parameter follows:

image

    the image.

TransformSignature

TransformSignature() transforms the Signature message accumulator.

The format of the TransformSignature method is:

  TransformSignature(SignatureInfo *signature_info)

A description of each parameter follows:

signature_info

    the address of a structure of type SignatureInfo.

UpdateSignature

UpdateSignature() updates the Signature message accumulator.

The format of the UpdateSignature method is:

  UpdateSignature(SignatureInfo *signature_info,const StringInfo *message)

A description of each parameter follows:

signature_info

    the address of a structure of type SignatureInfo.

message

    the message.