diff --git a/v1/client/client.proto b/v1/client/client.proto index 472bafb..0a6cfbd 100644 --- a/v1/client/client.proto +++ b/v1/client/client.proto @@ -99,10 +99,21 @@ message DeviceIdentityMaterial { message TpmIdentityMaterial { TpmEndorsementKeyMaterial ek = 1; - // Input TPMT_PUBLIC used to recreate the original parent with CreatePrimary. - bytes srk_template = 2; - TpmKeyBlobs ak = 3; - TpmKeyBlobs identity_key = 4; + TpmKeyBlobs ak = 2; + TpmKeyBlobs identity_key = 3; + oneof storage_parent { + // Input TPMT_PUBLIC used to recreate the original parent with CreatePrimary. + bytes srk_template = 4; + // Existing persistent parent. + TpmPersistentSrk persistent_srk = 5; + } +} + +message TpmPersistentSrk { + // TPM persistent handle, not a local ESAPI or TBS context handle. + uint32 handle = 1; + // Binary TPM Name without its TPM2B size prefix. + bytes name = 2; } message TpmEndorsementKeyMaterial {