Pkcs12Builder.AddSafeContentsUnencrypted(Pkcs12SafeContents) 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.
Add contents to the PFX without encrypting them.
public:
void AddSafeContentsUnencrypted(System::Security::Cryptography::Pkcs::Pkcs12SafeContents ^ safeContents);
public void AddSafeContentsUnencrypted (System.Security.Cryptography.Pkcs.Pkcs12SafeContents safeContents);
member this.AddSafeContentsUnencrypted : System.Security.Cryptography.Pkcs.Pkcs12SafeContents -> unit
Public Sub AddSafeContentsUnencrypted (safeContents As Pkcs12SafeContents)
Parameters
- safeContents
- Pkcs12SafeContents
The contents to add to the PFX.
Exceptions
The safeContents
parameter is null
.
The PFX is already sealed (IsSealed is true
).
Remarks
If the safeContents
value is already encrypted, this method adds it to the PFX as-is.
The contents of safeContents
are read during the call to this method, and stored internally as the encoded form of their content.
Any changes to the Pkcs12SafeContents or any Pkcs12SafeBag it references made after this method call are not reflected in the final output.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈