Pkcs12SafeContents.AddSafeBag(Pkcs12SafeBag) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a SafeBag to the SafeContents.
public:
void AddSafeBag(System::Security::Cryptography::Pkcs::Pkcs12SafeBag ^ safeBag);
public void AddSafeBag (System.Security.Cryptography.Pkcs.Pkcs12SafeBag safeBag);
member this.AddSafeBag : System.Security.Cryptography.Pkcs.Pkcs12SafeBag -> unit
Public Sub AddSafeBag (safeBag As Pkcs12SafeBag)
Parameters
- safeBag
- Pkcs12SafeBag
The SafeBag value to add.
Exceptions
The safeBag
parameter is null
.
This instance is read-only.
Remarks
Unlike the other methods that add a SafeBag to the SafeContents, this method adds the bag "live" and further modifications to the input parameter are reflected in the final encoded output.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.