Interface NetworkCertificate

All Known Implementing Classes:
NetworkAssociationDetails

public interface NetworkCertificate
API for a network certificate.
Version:
1.0
Author:
matt
  • Method Details

    • getNetworkId

      Long getNetworkId()
      Get an ID associated with this certificate.
      Returns:
      a unique ID, e.g. node ID, never null
    • getConfirmationKey

      String getConfirmationKey()
      Get a confirmation key, which can be used to later retrieve the network certificate if not immediately available in getNetworkCertificate().
      Returns:
      confirmation key, never null
    • getNetworkCertificateStatus

      String getNetworkCertificateStatus()
      Get a status associated with the certificate.
      Returns:
      the status, which may indicate if the certificate is being processed, etc
    • getNetworkCertificateSubjectDN

      String getNetworkCertificateSubjectDN()
      Get the value of the node's expected public key certificate subject name.

      The node must generate a certificate signing request (CSR) using this subject name and then install the signed certificate when granted by the SolarNet certification authority (CA).

      Returns:
      the node's subject DN
    • getNetworkCertificate

      String getNetworkCertificate()
      Get the certificate, as Base64-encoded string.
      Returns:
      the certificate, or null if the certificate is not available yet