Interface CertificateRequest.Signer

Enclosing class:
CertificateRequest

public static interface CertificateRequest.Signer
Signs the encoded request body with the private key matching the request's public key, using CertificateRequest.getSignatureAlgorithm().
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
    sign(byte[] data)
    Signs data.
  • Method Details

    • sign

      byte[] sign(byte[] data) throws IOException
      Signs data.
      Parameters:
      data - the DER CertificationRequestInfo
      Returns:
      the signature; for ECDSA the DER SEQUENCE { r, s } the platform's SHA256withECDSA produces
      Throws:
      IOException - when the key cannot sign