VirtualBox

Ignore:
Timestamp:
May 11, 2020 11:46:40 AM (5 years ago)
Author:
vboxsync
Message:

IPRT/crypto: Adding functions for checking whether a key or certificate can handle a given digest (size wise). Also, added OIDs, padding variants and stuff for sha512-224WithRSAEncryption and sha512-256WithRSAEncryption (RFC-8017). Note that OpenSSL does not implement these yet. bugref:9699

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/crypto/pkcs7.h

    r84230 r84248  
    596596
    597597RTDECL(int) RTCrPkcs7SimpleSignSignedData(uint32_t fFlags, PCRTCRX509CERTIFICATE pSigner, RTCRKEY hPrivateKey,
    598                                           void const *pvData, size_t cbData, RTCRSTORE hAdditionalCerts,
    599                                           void *pvResult, size_t *pcbResult, PRTERRINFO pErrInfo);
     598                                          void const *pvData, size_t cbData, RTDIGESTTYPE enmDigestType,
     599                                          RTCRSTORE hAdditionalCerts, void *pvResult, size_t *pcbResult, PRTERRINFO pErrInfo);
    600600
    601601/** @} */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette