Permalink
Browse files

Allow generated cert/key to be used for data encryption, patch from T…

…om Howe
  • Loading branch information...
1 parent b86298e commit 7a9d0d116465567b5865e408b7f6b492294b1063 @timf timf committed Jul 21, 2010
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/org/nimbustools/auto_common/ezpz_ca/EzPzCA.java
@@ -249,7 +249,8 @@ private void initializeGenerator() {
this.certGen.addExtension(X509Extensions.KeyUsage,
true,
new KeyUsage(KeyUsage.digitalSignature |
- KeyUsage.keyEncipherment));
+ KeyUsage.keyEncipherment |
+ KeyUsage.dataEncipherment));
}
private void setGenerator(String targetDN,

0 comments on commit 7a9d0d1

Please sign in to comment.