mx.bigdata.sat.security
Class PrivateKeyLoader
java.lang.Object
mx.bigdata.sat.security.PrivateKeyLoader
- All Implemented Interfaces:
- KeyLoader
public class PrivateKeyLoader
- extends Object
- implements KeyLoader
Created with IntelliJ IDEA.
User: Gerardo Aquino
Date: 3/06/13
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PrivateKeyLoader
public PrivateKeyLoader(String privateKeyLocation,
String keyPassword)
PrivateKeyLoader
public PrivateKeyLoader(InputStream privateKeyInputStream,
String keyPassword)
setPrivateKey
public void setPrivateKey(String privateKeyLocation,
String keyPassword)
- Parameters:
privateKeyLocation - private key located in filesystemkeyPassword - private key password
- Throws:
KeyException - thrown when any security exception occurs
setPrivateKey
public void setPrivateKey(InputStream privateKeyInputStream,
String keyPassword)
- Parameters:
privateKeyInputStream - private key's input streamkeyPassword - private key password
- Throws:
KeyException - thrown when any security exception occurs
Copyright © 2010-2013. All Rights Reserved.