Пример #1
0
 public static TPMBoundDataCore Encapsulate(byte[] payload)
 {
     TPMBoundDataCore boundData = new TPMBoundDataCore();
     boundData._version = CapabilityDataCore.TPMVersionCore.CreateVersion11();
     boundData._payloadType = TPMPayloadType.TPM_PT_BIND;
     boundData._payload = payload;
     return boundData;
 }
Пример #2
0
        public static TPMBoundDataCore Encapsulate(byte[] payload)
        {
            TPMBoundDataCore boundData = new TPMBoundDataCore();

            boundData._version     = CapabilityDataCore.TPMVersionCore.CreateVersion11();
            boundData._payloadType = TPMPayloadType.TPM_PT_BIND;
            boundData._payload     = payload;
            return(boundData);
        }