11 #ifndef P6GENCERTS_H__
12 #define P6GENCERTS_H__ 1
338 #define IF_p6IGenCerts {0x74b7789c,0xea87,0x4c13,{0xb9,0xf3,0x34,0x5d,0xc1,0xe5,0x3,0x45}}
341 #define COMP_p6GenCerts {0x58ba3a0e,0xea35,0x40d6,{0xbd,0x2c,0xf1,0x59,0x25,0x59,0xaf,0x5b}}
This interface provides key metadata infrormation and key access.
virtual P6R::P6ERR revokeCert(P6UINT32 serialNumber, P6UINT16 onYear, P6UINT8 onMonth, P6UINT8 onDay, P6UINT8 onHour, P6UINT8 onMinute, P6UINT8 onSecond)=0
Add the revoked (i.e., invalid) certificate to the CRL.
virtual P6R::P6ERR verifyCertificate(p6ICert *pCertificate, p6ICert **pCertChain, P6UINT32 numChain, const P6WCHAR *pCrlFile)=0
This function is used to verify that the Certificate file has been generated by the CA in question an...
P6UINT32 P6GENCERTSFLAGS
P6GENCERTFLAGS.
virtual P6R::P6ERR genCrlFile(const P6WCHAR *pCrlFile, p6ICryptoKey *pCAPrivateKey)=0
Write the composed V2 CRL to the "crlFile" in PEM format.
unsigned short int P6UINT16
wchar_t P6WCHAR
Wide character type see p6i18n.h.
The base interface all [p6]COM components must derive from and implement.
virtual P6R::P6ERR printCrl(const P6WCHAR *pPrintToFile, const P6WCHAR *pCrlFile)=0
Print the contents of the CRL in parsed form to a file.
This interface provides the capabilities to generate certificates and certificate revocation lists...
A distinguished name (DN) is comprised of one or more relative distinguished names (RDN)...
Interface definition for X509 V3 Certificates.
P6RDNTYPE
Relative Distingushed Name (RDN) components:
virtual P6R::P6ERR genCertificate(P6CERTRDN *pDN, P6UINT32 numDN, p6ICryptoKey *pPublicKey, p6ICryptoKey *pPrivateKey, p6ICert *pCACertificate, P6UINT32 secondsToExpire, P6CERTEXTENSION *pExtensionSet, P6UINT32 numExtension, p6ICert **pCertificate)=0
Generate a X509 V3 certificate binding the pDN and publicKeyFile contents with a signature from the C...
virtual P6R::P6ERR deleteCrl()=0
Free the memory allocated by the newCrl function.
This interface allows the caller to access parts of an X509 V3 certificate for use in protocols and i...
const P6GENCERTSFLAGS P6GENCERTS_NOFLAGS
virtual P6R::P6ERR initialize(P6GENCERTSFLAGS flags)=0
Sets up the object to run properly.
char P6CHAR
Narrow character type.
P6R Cryptographic key interface definitions.
virtual P6R::P6ERR newCrl(P6UINT32 nextInDays, P6UINT32 nextInHours, P6CERTEXTENSION *pExtensionSet, P6UINT32 numExtension, p6ICert *pCACertificate)=0
Create an in-memory image of a certificate revocation list (CRL).