org.neo4j.server.security
Class SslCertificateFactory
java.lang.Object
org.neo4j.server.security.SslCertificateFactory
public class SslCertificateFactory
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SslCertificateFactory
public SslCertificateFactory()
createSelfSignedCertificate
public void createSelfSignedCertificate(File certificatePath,
File privateKeyPath,
String hostName)
loadCertificate
public Certificate loadCertificate(File certFile)
throws CertificateException,
FileNotFoundException
- Throws:
CertificateException
FileNotFoundException
loadPrivateKey
public PrivateKey loadPrivateKey(File privateKeyFile)
throws IOException,
NoSuchAlgorithmException,
InvalidKeySpecException,
NoSuchPaddingException,
InvalidKeyException,
InvalidAlgorithmParameterException
- Throws:
IOException
NoSuchAlgorithmException
InvalidKeySpecException
NoSuchPaddingException
InvalidKeyException
InvalidAlgorithmParameterException
Copyright © 2002-2012 The Neo4j Graph Database Project. All Rights Reserved.