-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
deliver dragonwell security provider jar
- Loading branch information
jeffery.wsj
committed
Mar 21, 2023
1 parent
90ed7f8
commit 71f8ee6
Showing
6 changed files
with
39 additions
and
29 deletions.
There are no files selected for viewing
9 changes: 9 additions & 0 deletions
9
openjdk/src/main/java/com/alibaba/dragonwell/security/DragonwellSecurity.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package com.alibaba.dragonwell.security; | ||
|
||
import org.conscrypt.Conscrypt; | ||
|
||
public final class DragonwellSecurity { | ||
public static void setUseEngineSocketByDefault(boolean useEngineSocket) { | ||
Conscrypt.setUseEngineSocketByDefault(useEngineSocket); | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
openjdk/src/main/java/com/alibaba/dragonwell/security/DragonwellTlcpCertIndicate.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package com.alibaba.dragonwell.security; | ||
|
||
public interface DragonwellTlcpCertIndicate { | ||
String getTlcpSignAlias(); | ||
|
||
void setTlcpSignAlias(String alias); | ||
|
||
String getTlcpEncAlias(); | ||
|
||
void setTlcpEncAlias(String alias); | ||
} |
15 changes: 2 additions & 13 deletions
15
openjdk/src/main/java/com/alibaba/dragonwell/security/DragonwellX509Certificate.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,9 @@ | ||
/* | ||
* Copyright 2023 The Tongsuo Project Authors. All Rights Reserved. | ||
* | ||
* Licensed under the Apache License 2.0 (the "License"). You may not use | ||
* this file except in compliance with the License. You can obtain a copy | ||
* in the file LICENSE in the source distribution or at | ||
* https://github.com/Tongsuo-Project/Tongsuo/blob/master/LICENSE.txt | ||
*/ | ||
|
||
package com.alibaba.dragonwell.security; | ||
|
||
import org.conscrypt.OpenSSLX509Certificate; | ||
|
||
public class DragonwellX509Certificate extends OpenSSLX509Certificate { | ||
private static final long serialVersionUID = 8644387307092462038L; | ||
|
||
DragonwellX509Certificate(long ctx) throws Exception { | ||
public final class DragonwellX509Certificate extends OpenSSLX509Certificate { | ||
public DragonwellX509Certificate(long ctx) throws Exception { | ||
super(ctx); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters