Package tigase.cert

# Class CertificateEntry

java.lang.Object
tigase.cert.CertificateEntry

public class CertificateEntry extends Object
Created: Oct 9, 2010 5:08:30 PM

Version:
  $Rev$
Author:
  Artur Hefczyc

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `CertificateEntry()`
  `CertificateEntry(Certificate[] chain, KeyPair keyPair)`
  `CertificateEntry(Certificate[] chain, PrivateKey privateKey)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Certificate[]`
  `getCertChain()`
  `Optional<Certificate>`
  `getCertificate()`
  `Optional<KeyPair>`
  `getKeyPair()`
  `PrivateKey`
  `getPrivateKey()`
  `void`
  `setCertChain(Certificate[] chain)`
  `void`
  `setPrivateKey(PrivateKey privateKey)`
  `String`
  `toString()`
  `String`
  `toString(boolean basic)`

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

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

- ## Constructor Details

  - ### CertificateEntry

    public CertificateEntry()

  - ### CertificateEntry

    public CertificateEntry(Certificate[] chain, KeyPair keyPair)

  - ### CertificateEntry

    public CertificateEntry(Certificate[] chain, PrivateKey privateKey)

- ## Method Details

  - ### getCertChain

    public Certificate[] getCertChain()

  - ### setCertChain

    public void setCertChain(Certificate[] chain)

  - ### getPrivateKey

    public PrivateKey getPrivateKey()

  - ### setPrivateKey

    public void setPrivateKey(PrivateKey privateKey)

  - ### toString

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

  - ### toString

    public String toString(boolean basic)

  - ### getKeyPair

    public Optional<KeyPair> getKeyPair()

  - ### getCertificate

    public Optional<Certificate> getCertificate()