-
Notifications
You must be signed in to change notification settings - Fork 365
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FAPI: Extend policy tests with policy template.
The test for policy template sha1 and sha256 was added. Signed-off-by: Juergen Repp <juergen_repp@web.de>
- Loading branch information
1 parent
2642b76
commit c4feff9
Showing
3 changed files
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
{ | ||
"description":"Description pol_template", | ||
"policy":[ | ||
{ | ||
"type": "POLICYTEMPLATE", | ||
"templatePublic": { | ||
"type":"ECC", | ||
"nameAlg":"sha256", | ||
"objectAttributes":{ | ||
"fixedTPM":1, | ||
"stClear":0, | ||
"fixedParent":1, | ||
"sensitiveDataOrigin":1, | ||
"userWithAuth":1, | ||
"adminWithPolicy":0, | ||
"noDA":0, | ||
"encryptedDuplication":0, | ||
"restricted":1, | ||
"decrypt":1, | ||
"sign":0 | ||
}, | ||
"authPolicy":"", | ||
"parameters":{ | ||
"symmetric":{ | ||
"algorithm":"AES", | ||
"keyBits":128, | ||
"mode":"CFB" | ||
}, | ||
"scheme":{ | ||
"scheme":"NULL" | ||
}, | ||
"curveID":"NIST_P256", | ||
"kdf":{ | ||
"scheme":"NULL" | ||
} | ||
}, | ||
"unique":{ | ||
"x":"", | ||
"y":"" | ||
} | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters