예제 #1
0
        public static TPMStoredDataCore CreateFromTPMBlob(TPMBlob blob)
        {
            TPMStoredDataCore storedData = new TPMStoredDataCore();

            storedData.ReadFromTpmBlob(blob);
            return(storedData);
        }
예제 #2
0
 public static TPMStoredDataCore CreateFromTPMBlob(TPMBlob blob)
 {
     TPMStoredDataCore storedData = new TPMStoredDataCore();
     storedData.ReadFromTpmBlob(blob);
     return storedData;
 }
예제 #3
0
파일: TPM_Unseal.cs 프로젝트: deveck/doTSS
        public override void Init(Parameters param, TPMProvider tpmProvider, TPMWrapper tpmWrapper)
        {
            base.Init (param, tpmProvider, tpmWrapper);

            _digest = null;
            _responseDigest = null;
            _inData = TPMStoredDataCore.CreateFromBytes(param.GetValueOf<byte[]>("in_data"));
        }