NebulaGraph Java Client  release-3.8
CASignedSSLParam.java
1 /* Copyright (c) 2021 vesoft inc. All rights reserved.
2  *
3  * This source code is licensed under Apache 2.0 License.
4  */
5 
6 package com.vesoft.nebula.client.graph.data;
7 
8 public class CASignedSSLParam extends SSLParam {
9  private String caCrtFilePath;
10  private String crtFilePath;
11  private String keyFilePath;
12 
13  public CASignedSSLParam() {
14  super(SignMode.CA_SIGNED);
15  }
16 
17  public CASignedSSLParam(String caCrtFilePath, String crtFilePath, String keyFilePath) {
18  super(SignMode.CA_SIGNED);
19  this.caCrtFilePath = caCrtFilePath;
20  this.crtFilePath = crtFilePath;
21  this.keyFilePath = keyFilePath;
22  }
23 
24  public String getCaCrtFilePath() {
25  return caCrtFilePath;
26  }
27 
28  public String getCrtFilePath() {
29  return crtFilePath;
30  }
31 
32  public String getKeyFilePath() {
33  return keyFilePath;
34  }
35 }