forked from wolfSSL/wolfssl
update comments for DEGENERATE_SID use
This commit is contained in:
@@ -6059,8 +6059,11 @@ static int wc_PKCS7_GenerateBlock(PKCS7* pkcs7, WC_RNG* rng, byte* out,
|
|||||||
* IssuerAndSerialNumber unless set with this function or explicitly
|
* IssuerAndSerialNumber unless set with this function or explicitly
|
||||||
* overriden via options when adding RecipientInfo type.
|
* overriden via options when adding RecipientInfo type.
|
||||||
*
|
*
|
||||||
|
* Using the type DEGENERATE_SID skips over signer information. In degenerate
|
||||||
|
* cases there are no signers.
|
||||||
|
*
|
||||||
* pkcs7 - pointer to initialized PKCS7 structure
|
* pkcs7 - pointer to initialized PKCS7 structure
|
||||||
* type - either CMS_ISSUER_AND_SERIAL_NUMBER or CMS_SKID
|
* type - either CMS_ISSUER_AND_SERIAL_NUMBER, CMS_SKID or DEGENERATE_SID
|
||||||
*
|
*
|
||||||
* return 0 on success, negative upon error */
|
* return 0 on success, negative upon error */
|
||||||
int wc_PKCS7_SetSignerIdentifierType(PKCS7* pkcs7, int type)
|
int wc_PKCS7_SetSignerIdentifierType(PKCS7* pkcs7, int type)
|
||||||
|
Reference in New Issue
Block a user