public interface PrivateKeyRetriever
Important: Using this interface is discouraged. It was introduced to deal with situations where third party libraries (e.g. opensaml) expects a private for crypto operations rather than letting another component to do the operation for them.
If the need of a private key can be avoided, do NOT use this interface. Use CryptoService instead.
| Modifier and Type | Method and Description |
|---|---|
PrivateKey |
getPrivateKey(CryptoContext cryptoContext) |
PrivateKey getPrivateKey(CryptoContext cryptoContext) throws CryptoException
CryptoExceptionCopyright © 2018 WSO2. All rights reserved.