Class RsaX509Key
java.lang.Object
com.aquima.interactions.foundation.security.cert.RsaX509Key
- All Implemented Interfaces:
Serializable
RsaX509Key. This implementation can import any X.509 format key.
- Since:
- 17.1
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionGet the public key.static RsaX509Key
importFrom
(InputStream stream) Import a X509 key from the stream.
-
Method Details
-
getPublicKey
Get the public key.- Returns:
- the public key.
-
importFrom
Import a X509 key from the stream.- Parameters:
stream
- stream to read the key from- Returns:
- initialized key
- Throws:
CryptoGraphicException
- when the stream is not provided or when the stream could not be readCryptoGraphicException
- when the stream contains an invalid key
-