Class CsrMongoStorage

java.lang.Object
org.graylog.security.certutil.csr.storage.CsrMongoStorage

public class CsrMongoStorage extends Object
  • Constructor Details

  • Method Details

    • writeCsr

      public void writeCsr(org.bouncycastle.pkcs.PKCS10CertificationRequest csr, String nodeId) throws IOException, org.bouncycastle.operator.OperatorException
      Throws:
      IOException
      org.bouncycastle.operator.OperatorException
    • readCsr

      public Optional<org.bouncycastle.pkcs.PKCS10CertificationRequest> readCsr(String nodeId) throws IOException, org.bouncycastle.operator.OperatorException
      Throws:
      IOException
      org.bouncycastle.operator.OperatorException