identity: Clarify validity period for auth keys.
The AIDL said "one year in the future (365 days)" which is not a constant amount of time given that leap years and leap seconds may exist. Change this to be a constant amount of seconds instead. Bug: 271948315 Test: atest VtsHalIdentityTargetTest Change-Id: I324a809900feb898d2343e02066f2fb237a46e86
This commit is contained in:
parent
c3177488e9
commit
ecb4a83214
1 changed files with 2 additions and 1 deletions
|
@ -370,7 +370,8 @@ interface IIdentityCredential {
|
|||
* - issuer: CN shall be set to "Android Identity Credential Key". (fixed value:
|
||||
* same on all certs)
|
||||
*
|
||||
* - validity: should be from current time and one year in the future (365 days).
|
||||
* - validity: should be from current time and 31536000 seconds in the
|
||||
* future (approximately 365 days).
|
||||
*
|
||||
* - subjectPublicKeyInfo: must contain attested public key.
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue