Timenet learning5/5/2023 ![]() This change can affect binary compatibility. When this property has a value of true, the X509Chain.Build(X509Certificate2) method uses DateTime.Now as the verification time instead of X509ChainPolicy.VerificationTime when building the chain.Īssigning a value to the X509ChainPolicy.VerificationTime property automatically sets VerificationTimeIgnored to false. The X509ChainPolicy.VerificationTime value is assigned to DateTime.Now when the X509ChainPolicy object is constructed, but the new X509ChainPolicy.VerificationTimeIgnored property defaults to true. This value was used in all subsequent X509Chain.Build(X509Certificate2) calls (unless or until the value was reassigned at a later time). The X509ChainPolicy.VerificationTime value was assigned to DateTime.Now when the X509ChainPolicy object was constructed. ![]() This change doesn't affect chain builds that explicitly assign X509ChainPolicy.VerificationTime. The new default behavior is to use the value of DateTime.Now when X509Chain.Build() is invoked as the verification time. Using the same X509ChainPolicy object for multiple calls to X509Chain.Build(X509Certificate2) resulted in all chain builds using that same value as the verification time, no matter how much time had passed since the object was created. NET, the X509ChainPolicy.VerificationTime value was assigned to DateTime.Now when the X509ChainPolicy object was constructed.
0 Comments
Leave a Reply. |