MCPcopy Create free account
hub / github.com/apache/tomcat / getPrivateKey

Method getPrivateKey

java/org/apache/tomcat/util/net/jsse/PEMFile.java:144–146  ·  view source on GitHub ↗

Returns the private key loaded from this PEM file. @return the private key, or null if no private key was loaded

()

Source from the content-addressed store, hash-verified

142 * @return the private key, or null if no private key was loaded
143 */
144 public PrivateKey getPrivateKey() {
145 return privateKey;
146 }
147
148 /**
149 * Construct a PEMFile from the given file without a password.

Callers 5

testKeyMethod · 0.95
getKeyManagersMethod · 0.95
configureClientCertMethod · 0.95
addCertificateMethod · 0.45
addCertificateMethod · 0.45

Calls

no outgoing calls

Tested by 2

testKeyMethod · 0.76
configureClientCertMethod · 0.76