Tpm2Lib.TpmPublic.EcdhGetKeyExchangeKey C# (CSharp) Метод

EcdhGetKeyExchangeKey() публичный Метод

Get an ECDH key exchange key (one pass ephemeral) and the public key of the ephemeral key using ECDH with encodingParms as input to the KDF (ECC only)
public EcdhGetKeyExchangeKey ( byte encodingParms, TpmAlgId decryptKeyNameAlg, EccPoint &pubEphem ) : byte[]
encodingParms byte
decryptKeyNameAlg TpmAlgId
pubEphem EccPoint
Результат byte[]
        public byte[] EcdhGetKeyExchangeKey(byte[] encodingParms, TpmAlgId decryptKeyNameAlg, out EccPoint pubEphem)
        {
            using (AsymCryptoSystem encryptor = AsymCryptoSystem.CreateFrom(this))
            {
                return encryptor.EcdhGetKeyExchangeKey(encodingParms, decryptKeyNameAlg, out pubEphem);
            }
        }