dkim_getsigdomain()

SYNOPSIS
#include <dkim.h>

const char * dkim_getsigdomain(
	DKIM *dkim
);
Retrieve from a DKIM handle the domain name associated with the signature on a message.
DESCRIPTION
Called When dkim_getsigdomain() can be called at any time after a handle is initialized with a call to dkim_verify().
ARGUMENTS
ArgumentDescription
dkim Message-specific handle, returned by dkim_verify.
RETURN VALUES
ValueDescription
NULL No domain name could be determined for this signature.
otherwise A pointer to the domain name found in the signature.
NOTES
  • This function is a local addition to the formal API specification and is experimental only. It may not appear in other implementations.
  • For a multiply-signed message, the library selects the first signature which appears to be syntactically valid and unexpired. In a future release, this will change to be able to analyze multiple signatures individually.

Copyright (c) 2007 Sendmail, Inc. and its suppliers. All rights reserved.
By using this file, you agree to the terms and conditions set forth in the LICENSE.