private void ImportFullKeyBlob(byte[] ecfullKeyBlob, bool includePrivateParameters)
{
string blobType = includePrivateParameters ?
Interop.BCrypt.KeyBlobType.BCRYPT_ECCFULLPRIVATE_BLOB :
Interop.BCrypt.KeyBlobType.BCRYPT_ECCFULLPUBLIC_BLOB;
SafeNCryptKeyHandle keyHandle = CngKeyLite.ImportKeyBlob(blobType, ecfullKeyBlob);
Debug.Assert(!keyHandle.IsInvalid);
_keyHandle = keyHandle;
_lastAlgorithm = AlgorithmName.ECDsa;
int newKeySize = CngKeyLite.GetKeyLength(keyHandle);
ForceSetKeySize(newKeySize);
_lastKeySize = newKeySize;
}