diff options
author | Seth Moore <sethmo@google.com> | 2022-01-05 09:34:42 -0800 |
---|---|---|
committer | Seth Moore <sethmo@google.com> | 2022-01-24 16:19:21 -0800 |
commit | b5b69f0e009388fccb000a9a8aac5a38dbbd2726 (patch) | |
tree | 8d71317158f8c634b17ea271cf7ac8070ca7688e /identity/aidl/default/common/PresentationSession.cpp | |
parent | 3200496e757423986114f788158969adbb08b10c (diff) |
Add remote key provisioning to the IC HAL
The IIdentityCredentialStore can now advertise the correct
IRemotelyProvisionedComponent that is used for getting remotely
provisioned attestation keys.
IWritableIdentityCredential has a new method so it can accept remotely
provisioned keys.
Update the VTS tests to check the new RKP functionality.
Support RKP in the default identity cred service
Test: VtsHalIdentityTargetTest
Bug: 194696876
Change-Id: I96dcf3027e0f21790c35900ddf8cc0953bd3b1ca
Diffstat (limited to 'identity/aidl/default/common/PresentationSession.cpp')
-rw-r--r-- | identity/aidl/default/common/PresentationSession.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/identity/aidl/default/common/PresentationSession.cpp b/identity/aidl/default/common/PresentationSession.cpp index fbd897281a..2eb7f2ea16 100644 --- a/identity/aidl/default/common/PresentationSession.cpp +++ b/identity/aidl/default/common/PresentationSession.cpp @@ -122,8 +122,8 @@ ndk::ScopedAStatus PresentationSession::setSessionTranscript( ndk::ScopedAStatus PresentationSession::getCredential( const vector<uint8_t>& credentialData, shared_ptr<IIdentityCredential>* outCredential) { shared_ptr<PresentationSession> p = ref<PresentationSession>(); - shared_ptr<IdentityCredential> credential = - ndk::SharedRefBase::make<IdentityCredential>(hwProxyFactory_, credentialData, p); + shared_ptr<IdentityCredential> credential = ndk::SharedRefBase::make<IdentityCredential>( + hwProxyFactory_, credentialData, p, hardwareInformation_); int ret = credential->initialize(); if (ret != IIdentityCredentialStore::STATUS_OK) { return ndk::ScopedAStatus(AStatus_fromServiceSpecificErrorWithMessage( |