CreateCertificate Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Namespace: Microsoft.SPOT.Cryptoki
Assembly: Microsoft.SPOT.Security.PKCS11 (in Microsoft.SPOT.Security.PKCS11.dll)
Syntax
'Declaration
Public Shared Function CreateCertificate ( _
session As Session, _
template As CryptokiAttribute() _
) As CryptokiCertificate
public static CryptokiCertificate CreateCertificate(
Session session,
CryptokiAttribute[] template
)
public:
static CryptokiCertificate^ CreateCertificate(
Session^ session,
array<CryptokiAttribute^>^ template
)
static member CreateCertificate :
session:Session *
template:CryptokiAttribute[] -> CryptokiCertificate
public static function CreateCertificate(
session : Session,
template : CryptokiAttribute[]
) : CryptokiCertificate
Parameters
- session
Type: Microsoft.SPOT.Cryptoki. . :: . .Session
- template
Type: array<Microsoft.SPOT.Cryptoki. . :: . .CryptokiAttribute> [] () [] []
Return Value
Type: Microsoft.SPOT.Cryptoki. . :: . .CryptokiCertificate
.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.