com.deltavsoft.rcfproto

## Class PemCertificate

- java.lang.Object
- - com.deltavsoft.rcfproto.Certificate
  - - com.deltavsoft.rcfproto.PemCertificate

-     public class PemCertificate
      extends Certificate

  Use this class to load a certificate in .pem format. Only applicable to OpenSSL.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `PemCertificate(java.lang.String pathToCert)`
    `PemCertificate(java.lang.String pathToCert, java.lang.String password)` Loads a .pem certificate, using the given file path and password.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `delete()`
    `protected void` | `finalize()`
    `protected static long` | `getCPtr(PemCertificate obj)`

    - ### Methods inherited from class com.deltavsoft.rcfproto.Certificate

      `getCPtr`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### PemCertificate

          public PemCertificate(java.lang.String pathToCert,
                        java.lang.String password)

      Loads a .pem certificate, using the given file path and password.

    - #### PemCertificate

          public PemCertificate(java.lang.String pathToCert)

  - ### Method Detail

    - #### getCPtr

          protected static long getCPtr(PemCertificate obj)

    - #### finalize

          protected void finalize()

      Overrides:
        `finalize` in class `Certificate`

    - #### delete

          public void delete()

      Overrides:
        `delete` in class `Certificate`