NebulaGraph Java Client  release-3.6
All Classes Functions Variables
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(String caCrtFilePath, String crtFilePath, String keyFilePath) {
14  super(SignMode.CA_SIGNED);
15  this.caCrtFilePath = caCrtFilePath;
16  this.crtFilePath = crtFilePath;
17  this.keyFilePath = keyFilePath;
18  }
19 
20  public String getCaCrtFilePath() {
21  return caCrtFilePath;
22  }
23 
24  public String getCrtFilePath() {
25  return crtFilePath;
26  }
27 
28  public String getKeyFilePath() {
29  return keyFilePath;
30  }
31 }