Package org.wso2.carbon.crypto.api
Interface PrivateKeyRetriever
public interface PrivateKeyRetriever
The service contract of an implementation of a private key retriever.
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.
-
Method Summary
-
Method Details
-
getPrivateKey
- Throws:
CryptoException
-