コード例 #1
0
ファイル: KeyManagerHelper.cs プロジェクト: deveck/doTSS
        public bool ContainsIdentifier(string identifier)
        {
            ContainsKeyRequest requestContainsKey = new ContainsKeyRequest(_ctx);
            requestContainsKey.Identifier = identifier;
            requestContainsKey.TpmSessionIdentifier = _tpmSessionIdentifier;
            ContainsKeyResponse responseContainsKey = requestContainsKey.TypedExecute();
            responseContainsKey.AssertResponse();

            return responseContainsKey.Contained;
        }
コード例 #2
0
ファイル: KeyManagerHelper.cs プロジェクト: smuthubabu/doTSS
        public bool ContainsIdentifier(string identifier)
        {
            ContainsKeyRequest requestContainsKey = new ContainsKeyRequest(_ctx);

            requestContainsKey.Identifier           = identifier;
            requestContainsKey.TpmSessionIdentifier = _tpmSessionIdentifier;
            ContainsKeyResponse responseContainsKey = requestContainsKey.TypedExecute();

            responseContainsKey.AssertResponse();

            return(responseContainsKey.Contained);
        }