MCPcopy Create free account
hub / github.com/TigerVNC/tigervnc / newInstance

Method newInstance

java/com/jcraft/jsch/IdentityFile.java:39–42  ·  view source on GitHub ↗
(String prvfile, String pubfile, JSch jsch)

Source from the content-addressed store, hash-verified

37 private String identity;
38
39 static IdentityFile newInstance(String prvfile, String pubfile, JSch jsch) throws JSchException{
40 KeyPair kpair = KeyPair.load(jsch, prvfile, pubfile);
41 return new IdentityFile(jsch, prvfile, kpair);
42 }
43
44 static IdentityFile newInstance(String name, byte[] prvkey, byte[] pubkey, JSch jsch) throws JSchException{
45

Callers 15

addIdentityMethod · 0.95
addMethod · 0.95
applyConfigMethod · 0.95
getFingerPrintMethod · 0.80
generateMethod · 0.80
getSignatureMethod · 0.80
getVerifierMethod · 0.80
startMethod · 0.80
decryptMethod · 0.80
getCipherMethod · 0.80
initMethod · 0.80
connectMethod · 0.80

Calls 1

loadMethod · 0.95

Tested by

no test coverage detected