|
static unsafe SafeNCryptKeyHandle | ImportKeyBlob (string blobType, ReadOnlySpan< byte > keyBlob, bool encrypted=false, ReadOnlySpan< char > password=default(ReadOnlySpan< char >)) |
|
static SafeNCryptKeyHandle | ImportKeyBlob (string blobType, byte[] keyBlob, string curveName) |
|
static byte[] | ExportKeyBlob (SafeNCryptKeyHandle keyHandle, string blobType) |
|
static byte[] | ExportPkcs8KeyBlob (SafeNCryptKeyHandle keyHandle, ReadOnlySpan< char > password, int kdfCount) |
|
static bool | TryExportPkcs8KeyBlob (SafeNCryptKeyHandle keyHandle, ReadOnlySpan< char > password, int kdfCount, Span< byte > destination, out int bytesWritten) |
|
static unsafe bool | ExportPkcs8KeyBlob (bool allocate, SafeNCryptKeyHandle keyHandle, ReadOnlySpan< char > password, int kdfCount, Span< byte > destination, out int bytesWritten, out byte[] allocated) |
|
static SafeNCryptKeyHandle | GenerateNewExportableKey (string algorithm, int keySize) |
|
static SafeNCryptKeyHandle | GenerateNewExportableKey (string algorithm, string curveName) |
|
static SafeNCryptKeyHandle | GenerateNewExportableKey (string algorithm, ref ECCurve explicitCurve) |
|
static int | GetKeyLength (SafeNCryptKeyHandle keyHandle) |
|
static unsafe string | GetPropertyAsString (SafeNCryptHandle ncryptHandle, string propertyName, CngPropertyOptions options) |
|
static string | GetCurveName (SafeNCryptHandle ncryptHandle) |
|
static void | SetCurveName (SafeNCryptHandle keyHandle, string curveName) |
|
Definition at line 8 of file CngKeyLite.cs.