Tpm2Lib.Tpm2.ActivateCredential C# (CSharp) Method

ActivateCredential() private method

private ActivateCredential ( TpmHandle activateHandle, TpmHandle keyHandle, byte credentialBlob, byte secret ) : byte[]
activateHandle TpmHandle
keyHandle TpmHandle
credentialBlob byte
secret byte
return byte[]
        public byte[] ActivateCredential(
            TpmHandle activateHandle,
            TpmHandle keyHandle,
            byte[] credentialBlob,
            byte[] secret
        )
        {
            Tpm2ActivateCredentialRequest inS = new Tpm2ActivateCredentialRequest();
            inS.activateHandle = activateHandle;
            inS.keyHandle = keyHandle;
            inS.credentialBlob = credentialBlob;
            inS.secret = secret;
            TpmStructureBase outSBase;
            DispatchMethod(TpmCc.ActivateCredential, (TpmStructureBase) inS, typeof(Tpm2ActivateCredentialResponse), out outSBase, 2, 0);
            Tpm2ActivateCredentialResponse outS = (Tpm2ActivateCredentialResponse) outSBase;
            return outS.certInfo;
        }
        /// <summary>
Tpm2