If you are speaking about PKCS#1-based signing, please have a look at the PKIBlackbox/Primitives/SignDetached sample, which illustrates the use of TElRSAPublicKeyCrypto component for raw data signing. Set the OutputEncoding property to pkeBase64 to get the output in Base64 form.

The key material of the certificate (which is supposed to be assigned to the TElRSAPublicKeyCrypto.KeyMaterial property) can be obtained via the TElX509Certificate.KeyMaterial property.

We use cookies to help provide you with the best possible online experience. By using this site, you agree that we may store and access cookies on your device. You can find out more about and set your own preferences here.