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