Functions
xmlSecMSCngKeyDataX509GetKlass ()
xmlSecKeyDataId
xmlSecMSCngKeyDataX509GetKlass (void);
The MSCng X509 key data klass.
Returns
 the X509 data klass.
 
 
xmlSecMSCngKeyDataRawX509CertGetKlass ()
xmlSecKeyDataId
xmlSecMSCngKeyDataRawX509CertGetKlass (void);
The raw X509 certificates key data klass.
Returns
 raw X509 certificates key data klass.
 
 
xmlSecMSCngX509StoreGetKlass ()
xmlSecKeyDataStoreId
xmlSecMSCngX509StoreGetKlass (void);
The MSCng X509 certificates key data store klass.
Returns
 pointer to MSCng X509 certificates key data store klass.
 
 
xmlSecMSCngKeyDataX509AdoptKeyCert ()
int
xmlSecMSCngKeyDataX509AdoptKeyCert (xmlSecKeyDataPtr data,
                                    PCCERT_CONTEXT cert);
 
xmlSecMSCngKeyDataX509AdoptCert ()
int
xmlSecMSCngKeyDataX509AdoptCert (xmlSecKeyDataPtr data,
                                 PCCERT_CONTEXT cert);
 
xmlSecMSCngX509StoreAdoptCert ()
int
xmlSecMSCngX509StoreAdoptCert (xmlSecKeyDataStorePtr store,
                               PCCERT_CONTEXT cert,
                               xmlSecKeyDataType type);
Adds trusted (root) or untrusted certificate to the store.
Returns
 0 on success or a negative value if an error occurs.
 
 
xmlSecMSCngX509StoreAdoptKeyStore ()
int
xmlSecMSCngX509StoreAdoptKeyStore (xmlSecKeyDataStorePtr store,
                                   HCERTSTORE keyStore);
Adds keyStore
 to the list of key stores.
Returns
 0 on success or a negative value if an error occurs.
 
 
xmlSecMSCngX509StoreAdoptTrustedStore ()
int
xmlSecMSCngX509StoreAdoptTrustedStore (xmlSecKeyDataStorePtr store,
                                       HCERTSTORE trustedStore);
Adds trustedStore
 to the list of trusted certs stores.
Returns
 0 on success or a negative value if an error occurs.
 
 
xmlSecMSCngX509StoreAdoptUntrustedStore ()
int
xmlSecMSCngX509StoreAdoptUntrustedStore
                               (xmlSecKeyDataStorePtr store,
                                HCERTSTORE untrustedStore);
Adds trustedStore
 to the list of untrusted certs stores.
Returns
 0 on success or a negative value if an error occurs.
 
 
xmlSecMSCngX509StoreVerify ()
PCCERT_CONTEXT
xmlSecMSCngX509StoreVerify (xmlSecKeyDataStorePtr store,
                            HCERTSTORE certs,
                            xmlSecKeyInfoCtx *keyInfoCtx);
Verifies certs
 list.
Returns
 pointer to the first verified certificate from certs
.
 
 
xmlSecMSCngX509StoreFindCert ()
PCCERT_CONTEXT
xmlSecMSCngX509StoreFindCert (xmlSecKeyDataStorePtr store,
                              xmlChar *subjectName,
                              xmlChar *issuerName,
                              xmlChar *issuerSerial,
                              xmlChar *ski,
                              xmlSecKeyInfoCtx *keyInfoCtx);
Searches store
 for a certificate that matches given criteria.
Returns
 pointer to found certificate or NULL if certificate is not found
or an error occurs.
 
 
xmlSecMSCngX509FindCertBySubject ()
PCCERT_CONTEXT
xmlSecMSCngX509FindCertBySubject (HCERTSTORE store,
                                  LPTSTR wcSubject,
                                  DWORD dwCertEncodingType);
Searches for a cert with given subject
 in the store
Returns
 cert handle on success or NULL otherwise
 
 
 
Types and Values
xmlSecMSCngKeyDataX509Id
#define             xmlSecMSCngKeyDataX509Id
The MSCng X509 data klass.
 
xmlSecMSCngKeyDataRawX509CertId
#define             xmlSecMSCngKeyDataRawX509CertId
The MSCng raw X509 certificate klass.
 
xmlSecMSCngX509StoreId
#define             xmlSecMSCngX509StoreId
The MSCng X509 store klass.