fix unit test and add new for divert-to-card promotion

This commit is contained in:
Vincent Breitmoser committed 2015-03-22 07:21:27 +01:00
1 parent 2e838e4cce
commit 5d5e06cabd
2 files changed
+33 -6

No files matched your search

@@ -278,6 +278,10 @@ public class CanonicalizedSecretKey extends CanonicalizedPublicKey {
}
}
public byte[] getIv() {
return mSecretKey.getIV();
}
static class PrivateKeyNotUnlockedException extends RuntimeException {
// this exception is a programming error which happens when an operation which requires
// the private key is called without a previous call to unlock()