1*b077aed3SPierre Pronchery=pod 2*b077aed3SPierre Pronchery 3*b077aed3SPierre Pronchery=head1 NAME 4*b077aed3SPierre Pronchery 5*b077aed3SPierre ProncheryPKCS12_add_CSPName_asc - Add a Microsoft CSP Name attribute to a PKCS#12 safeBag 6*b077aed3SPierre Pronchery 7*b077aed3SPierre Pronchery=head1 SYNOPSIS 8*b077aed3SPierre Pronchery 9*b077aed3SPierre Pronchery #include <openssl/pkcs12.h> 10*b077aed3SPierre Pronchery 11*b077aed3SPierre Pronchery int PKCS12_add_CSPName_asc(PKCS12_SAFEBAG *bag, const char *name, int namelen); 12*b077aed3SPierre Pronchery 13*b077aed3SPierre Pronchery=head1 DESCRIPTION 14*b077aed3SPierre Pronchery 15*b077aed3SPierre ProncheryPKCS12_add_CSPName_asc() adds an ASCII string representation of the Microsoft CSP Name attribute to a PKCS#12 safeBag. 16*b077aed3SPierre Pronchery 17*b077aed3SPierre ProncheryI<bag> is the B<PKCS12_SAFEBAG> to add the attribute to. 18*b077aed3SPierre Pronchery 19*b077aed3SPierre Pronchery=head1 RETURN VALUES 20*b077aed3SPierre Pronchery 21*b077aed3SPierre ProncheryReturns 1 for success or 0 for failure. 22*b077aed3SPierre Pronchery 23*b077aed3SPierre Pronchery=head1 SEE ALSO 24*b077aed3SPierre Pronchery 25*b077aed3SPierre ProncheryL<PKCS12_add_friendlyname_asc(3)> 26*b077aed3SPierre Pronchery 27*b077aed3SPierre Pronchery=head1 COPYRIGHT 28*b077aed3SPierre Pronchery 29*b077aed3SPierre ProncheryCopyright 2019 The OpenSSL Project Authors. All Rights Reserved. 30*b077aed3SPierre Pronchery 31*b077aed3SPierre ProncheryLicensed under the Apache License 2.0 (the "License"). You may not use 32*b077aed3SPierre Proncherythis file except in compliance with the License. You can obtain a copy 33*b077aed3SPierre Proncheryin the file LICENSE in the source distribution or at 34*b077aed3SPierre ProncheryL<https://www.openssl.org/source/license.html>. 35*b077aed3SPierre Pronchery 36*b077aed3SPierre Pronchery=cut 37