Pkcs12Builder.SealWithoutIntegrity 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.
Seals the PFX from further changes without applying tamper-protection.
public:
void SealWithoutIntegrity();
public void SealWithoutIntegrity ();
member this.SealWithoutIntegrity : unit -> unit
Public Sub SealWithoutIntegrity ()
Exceptions
The PFX is already sealed (IsSealed is true
).
Remarks
This method exists for compatibility with the PKCS#12 specification, but its use is not recommended for purposes other than testing. When building a PFX that can be used by the overloads of X509Certificate2 or X509Certificate2Collection.Import which do not accept a password parameter, use the SealWithMac(String, HashAlgorithmName, Int32) method with String.Empty as the password.