Ejemplo n.º 1
0
        private void ImportFullKeyBlob(byte[] ecfullKeyBlob, bool includePrivateParameters)
        {
            CngKey key = ECCng.ImportFullKeyBlob(ecfullKeyBlob, includePrivateParameters);

            try
            {
                Key = key;
            }
            catch
            {
                key.Dispose();
                throw;
            }
        }
Ejemplo n.º 2
0
        private void ImportFullKeyBlob(byte[] ecfullKeyBlob, bool includePrivateParameters)
        {
#if !NETNATIVE
            Key = ECCng.ImportFullKeyBlob(ecfullKeyBlob, includePrivateParameters);
#endif //!NETNATIVE
        }
Ejemplo n.º 3
0
 private void ImportFullKeyBlob(byte[] ecfullKeyBlob, bool includePrivateParameters)
 {
     Key = ECCng.ImportFullKeyBlob(ecfullKeyBlob, includePrivateParameters);
 }