Class DesCertificate

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

public class DesCertificate extends Object implements Serializable
Class representing a DES certificate.
Since:
5.1
Author:
m.hesselink
See Also:
  • Constructor Details

    • DesCertificate

      protected DesCertificate(SecretKey privateKey)
  • Method Details

    • getSecretKey

      public SecretKey getSecretKey()
      This method returns the secret key of this certificate.
      Returns:
      the secret key of this certificate.
    • importFrom

      public static DesCertificate importFrom(InputStream stream)
      This method reads a certificate from an input stream.
      Parameters:
      stream - The input stream the certificate should be read from.
      Returns:
      The certificate provided by the input stream.
      Throws:
      CryptoGraphicException - This exception is thrown when the certificate could not be read from the input stream.