Class X509Certificate

java.lang.Object
com.aquima.interactions.foundation.security.cert.X509Certificate
All Implemented Interfaces:
Serializable

public final class X509Certificate extends Object implements Serializable
X509Certificate. This implementation is not a full implementation of the Certificate, but it can import any X.509 format certificate.
Since:
5.1
Author:
m.hesselink
See Also:
  • Method Details

    • getPublicKey

      public PublicKey getPublicKey()
      Get the public key.
      Returns:
      the public key.
    • importFrom

      public static X509Certificate importFrom(InputStream stream)
      Import a X509 certificate from the stream.
      Parameters:
      stream - stream to read the certficate from
      Returns:
      initialized certificate
      Throws:
      CryptoGraphicException - when the stream is not provided or when the stream could not be read
      CryptoGraphicException - when the stream contains an invalid key