add keygen test

This commit is contained in:
NIIBE Yutaka
2012-06-28 09:30:16 +09:00
parent 9cc6de9e65
commit 19e677ae74
3 changed files with 83 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
@keygen
Feature: key generation
In order to use a token
A token should have keys
Scenario: generate OPENPGP.1 key (sign)
When generating a key of OPENPGP.1
And put the first data to c7
And put the second data to ce
Then it should get success
Scenario: generate OPENPGP.2 key (decrypt)
When generating a key of OPENPGP.2
And put the first data to c8
And put the second data to cf
Then it should get success
Scenario: generate OPENPGP.3 key (authentication)
When generating a key of OPENPGP.3
And put the first data to c9
And put the second data to d0
Then it should get success