NebulaGraph Java Client  release-3.8
SelfSignedSSLParam.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 SelfSignedSSLParam extends SSLParam {
9  private String crtFilePath;
10  private String keyFilePath;
11  private String password;
12 
13  public SelfSignedSSLParam(String crtFilePath, String keyFilePath, String password) {
14  super(SignMode.SELF_SIGNED);
15  this.crtFilePath = crtFilePath;
16  this.keyFilePath = keyFilePath;
17  this.password = password;
18  }
19 
20  public String getCrtFilePath() {
21  return crtFilePath;
22  }
23 
24  public String getKeyFilePath() {
25  return keyFilePath;
26  }
27 
28  public String getPassword() {
29  return password;
30  }
31 }