Package org.xipki.ca.gateway
Interface RequestorAuthenticator
-
- All Known Implementing Classes:
DummyRequestorAuthenticator
public interface RequestorAuthenticator- Since:
- 6.0.0
- Author:
- Lijun Liao (xipki)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Requestor.CertRequestorgetCertRequestor(org.xipki.security.X509Cert cert)Return the certificate-based requestor for given client certificate.Requestor.PasswordRequestorgetPasswordRequestorByUser(String user)Return the password-based requestor for given user.Requestor.SimplePasswordRequestorgetSimplePasswordRequestorByKeyId(byte[] keyId)Return the password-based requestor for given keyID.
-
-
-
Method Detail
-
getSimplePasswordRequestorByKeyId
Requestor.SimplePasswordRequestor getSimplePasswordRequestorByKeyId(byte[] keyId)
Return the password-based requestor for given keyID. Used for CMP gateway.- Parameters:
keyId- the key ID- Returns:
- the requestor.
-
getPasswordRequestorByUser
Requestor.PasswordRequestor getPasswordRequestorByUser(String user)
Return the password-based requestor for given user. Used for EST, REST and SCEP gateway.- Parameters:
user- the user- Returns:
- the requestor.
-
getCertRequestor
Requestor.CertRequestor getCertRequestor(org.xipki.security.X509Cert cert)
Return the certificate-based requestor for given client certificate. Used for CMP, EST, REST and SCEP gateway.- Parameters:
cert- the client certificate- Returns:
- the requestor.
-
-