Class PemKeyPair

java.lang.Object
jadex.ipc.impl.security.PemKeyPair

public class PemKeyPair extends Object
PEM-encoded key/certificate pair.
  • Field Details

    • certificate

      protected String certificate
      The encoded certificate.
    • key

      protected String key
      The encoded key.
  • Constructor Details

    • PemKeyPair

      public PemKeyPair()
  • Method Details

    • getCertificate

      public String getCertificate()
      Gets encoded certificate.
      Returns:
      Encoded certificate.
    • setCertificate

      public void setCertificate(String certificate)
      Sets encoded certificate.
      Parameters:
      certificate - Encoded certificate.
    • getKey

      public String getKey()
      Gets encoded key.
      Returns:
      Encoded key.
    • setKey

      public void setKey(String key)
      Sets encoded key.
      Parameters:
      key - Encoded key.
    • hashCode

      public int hashCode()
      Hashcode.
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Equals method.
      Overrides:
      equals in class Object
    • toString

      public String toString()
      toString()
      Overrides:
      toString in class Object