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
-
Method Details
-
sign
Signsdata.- Parameters:
data- the DER CertificationRequestInfo- Returns:
- the signature; for ECDSA the DER
SEQUENCE { r, s }the platform'sSHA256withECDSAproduces - Throws:
IOException- when the key cannot sign
-