UpdateCertificates Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Updates the SSL stack to use updated certificates.
Namespace: Microsoft.SPOT.Net.Security
Assembly: System.Net.Security (in System.Net.Security.dll)
Syntax
'Declaration
Public Sub UpdateCertificates ( _
cert As X509Certificate, _
ca As X509Certificate() _
)
public void UpdateCertificates(
X509Certificate cert,
X509Certificate[] ca
)
public:
void UpdateCertificates(
X509Certificate^ cert,
array<X509Certificate^>^ ca
)
member UpdateCertificates :
cert:X509Certificate *
ca:X509Certificate[] -> unit
public function UpdateCertificates(
cert : X509Certificate,
ca : X509Certificate[]
)
Parameters
- cert
Type: System.Security.Cryptography.X509Certificates. . :: . .X509Certificate
The personal certificate to update.
- ca
Type: array<System.Security.Cryptography.X509Certificates. . :: . .X509Certificate> [] () [] []
The certificate authority certificate to update.
Remarks
This method must be called to update the SslStream after the certificate store on the device has been updated.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.