| SYNOPSIS | 
#include <dkim.h>
DKIM_STAT dkim_sig_getcanons(
	DKIM_SIGINFO *sig,
        dkim_canon_t *hdr,
        dkim_canon_t *body
);
Retrieve the canonicalizations used to apply a signature to a message.
 | 
| DESCRIPTION | 
| Called When | 
dkim_sig_getcanons() is called after
    dkim_eoh() to get the header and
    body canonicalization modes used to sign a message.   | 
 
 
 | 
|---|
| ARGUMENTS | 
    
    | Argument | Description |  
    | sig | 
	The DKIM_SIGINFO handle representing the signature
	being evaluated.
	 |  
    | hdr | 
	A pointer to a dkim_canon_t which will receive the
        header canonicalization mode used when generating the provided
	signature.  Can be NULL if this information is not needed by the
	caller.
	 |  
    | body | 
	A pointer to a dkim_canon_t which will receive the
        body canonicalization mode used when generating the provided
	signature.  Can be NULL if this information is not needed by the
	caller.
	 |  
     
 | 
| NOTES |  
 |