Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
Openfire
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Openfire
Commits
54f0bc03
Commit
54f0bc03
authored
Jan 17, 2016
by
André Berenguel
Committed by
Guus der Kinderen
Jan 25, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix wrong builder use
parent
b385c862
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
CertificateManager.java
src/java/org/jivesoftware/util/CertificateManager.java
+3
-3
No files found.
src/java/org/jivesoftware/util/CertificateManager.java
View file @
54f0bc03
...
@@ -990,8 +990,8 @@ public class CertificateManager {
...
@@ -990,8 +990,8 @@ public class CertificateManager {
*
*
* @param kp KeyPair that keeps the public and private keys for the new certificate.
* @param kp KeyPair that keeps the public and private keys for the new certificate.
* @param days time to live
* @param days time to live
* @param issuerBuilder Issuer
C
N builder
* @param issuerBuilder Issuer
D
N builder
* @param subjectBuilder Subject
C
N builder
* @param subjectBuilder Subject
D
N builder
* @param domain Domain of the server.
* @param domain Domain of the server.
* @param signAlgoritm Signature algorithm. This can be either a name or an OID.
* @param signAlgoritm Signature algorithm. This can be either a name or an OID.
* @return X509 V3 Certificate
* @return X509 V3 Certificate
...
@@ -1010,7 +1010,7 @@ public class CertificateManager {
...
@@ -1010,7 +1010,7 @@ public class CertificateManager {
BigInteger
serial
=
(
new
java
.
math
.
BigInteger
(
serno
)).
abs
();
BigInteger
serial
=
(
new
java
.
math
.
BigInteger
(
serno
)).
abs
();
X500Name
issuerDN
=
issuerBuilder
.
build
();
X500Name
issuerDN
=
issuerBuilder
.
build
();
X500Name
subjectDN
=
issuer
Builder
.
build
();
X500Name
subjectDN
=
subject
Builder
.
build
();
// builder
// builder
JcaX509v3CertificateBuilder
certBuilder
=
new
JcaX509v3CertificateBuilder
(
//
JcaX509v3CertificateBuilder
certBuilder
=
new
JcaX509v3CertificateBuilder
(
//
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment