I am unable find any examples on using ScCryptoApiStorage . what I am trying to do is provide a list of the
Certlocation:=clcurrentuser
CertproviderType:=ptSystem
Certstorename:=MY
to the user to select the correct cert for use from the list.
Thanks
Chris Greenwell
Looking for example on how to use ScCryptoAPIStorage
Re: Looking for example on how to use ScCryptoAPIStorage
To work with certificates using TScCryptoAPIStorage, you should use the TScCryptoAPIStorage.Certificates property. See more details about the property in SecureBridge help: https://www.devart.com/sbridge/docs/tsc ... icates.htm
To retrieve the list of certificates, you can execute the TScCryptoAPIStorage.Certificates.GetCertificateNames method. For example:
If you haven't added storage certificates to "MY" by yourself, it will be empty.
To retrieve the list of certificates, you can execute the TScCryptoAPIStorage.Certificates.GetCertificateNames method. For example:
Code: Select all
ScCryptoAPIStorage.Certificates.GetCertificateNames(Memo.Lines); // Memo is a TMemo component