diff options
author | Abhishek Koneru <akoneru@redhat.com> | 2012-08-13 18:29:34 -0400 |
---|---|---|
committer | Ade Lee <alee@redhat.com> | 2012-08-17 13:16:20 -0400 |
commit | 2f746e5ac050672dd53f839a0ae149edd1a5688d (patch) | |
tree | 01e76c2633c88f6bcfa34162ecad3a46676f688e /base/util/src/com/netscape/cmsutil | |
parent | da060ead7ea007ed2c8856d0c5dd9ba2e39be638 (diff) | |
download | pki-2f746e5ac050672dd53f839a0ae149edd1a5688d.tar.gz pki-2f746e5ac050672dd53f839a0ae149edd1a5688d.tar.xz pki-2f746e5ac050672dd53f839a0ae149edd1a5688d.zip |
Ticket 219 - Conversion of integer variable to BigInteger
Diffstat (limited to 'base/util/src/com/netscape/cmsutil')
-rw-r--r-- | base/util/src/com/netscape/cmsutil/crypto/CryptoUtil.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/base/util/src/com/netscape/cmsutil/crypto/CryptoUtil.java b/base/util/src/com/netscape/cmsutil/crypto/CryptoUtil.java index c54f76489..81378ac1a 100644 --- a/base/util/src/com/netscape/cmsutil/crypto/CryptoUtil.java +++ b/base/util/src/com/netscape/cmsutil/crypto/CryptoUtil.java @@ -712,7 +712,7 @@ public class CryptoUtil { } public static X509CertInfo createX509CertInfo(X509Key x509key, - int serialno, String issuername, String subjname, + BigInteger serialno, String issuername, String subjname, Date notBefore, Date notAfter) throws IOException, CertificateException, @@ -728,12 +728,12 @@ public class CryptoUtil { } public static X509CertInfo createX509CertInfo(X509Key x509key, - int serialno, String issuername, String subjname, + BigInteger serialno, String issuername, String subjname, Date notBefore, Date notAfter, String alg) throws IOException, - CertificateException, - InvalidKeyException, - NoSuchAlgorithmException { + CertificateException, + InvalidKeyException, + NoSuchAlgorithmException { X509CertInfo info = new X509CertInfo(); info.set(X509CertInfo.VERSION, new |