SecIdentity.Create(SecCertificate, SecKey) 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.
Create a SecIdentity instance from a certificate and a private key.
public static Security.SecIdentity? Create(Security.SecCertificate certificate, Security.SecKey privateKey);
static member Create : Security.SecCertificate * Security.SecKey -> Security.SecIdentity
Parameters
- certificate
- SecCertificate
The certificate to use for the new SecIdentity instance.
- privateKey
- SecKey
The private to use for the new SecIdentity instance.
Returns
A new SecIdentity instance if successful, otherwise null.