Package com.atlassian.crowd.manager.sso
Interface SamlSSOCertificateService
- All Known Subinterfaces:
SamlSSOCertificateServiceInternal
- All Known Implementing Classes:
SamlSSOCertificateServiceImpl
public interface SamlSSOCertificateService
A service for managing pairs of certificate and private key used in SSO.
- Since:
- 3.4.0
-
Method Summary
Modifier and TypeMethodDescriptionlong
Generates and stores new pair of certificate and private key both 4096 bits long.getCertificate
(long certificateId)
-
Method Details
-
generateCertificateAndPrivateKey
long generateCertificateAndPrivateKey()Generates and stores new pair of certificate and private key both 4096 bits long. RSA algorithm is used to generate this pair.- Returns:
- id of the newly-generated certificate and private key
-
getCertificate
- Parameters:
certificateId
- the id of the certificate to fetch- Returns:
- certificate based on passed id if found, none otherwise
-