Package com.avaya.clientservices.credentials

## Interface EnrollmentCredentialProvider

-     public interface EnrollmentCredentialProvider

  Interface used to represent a EnrollmentCredentialProvider. An enrollment credential provider needs Certificate Common Name and the enrollment password for the enrollment. Used in `CertificateManager.enroll(ScepConfiguration, EnrollmentCredentialProvider, CertificateEnrollmentCompletionHandler)` to get enrollment credentials

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `OnCredentialAccepted()` | This method is called by the requester to report that the credential returned by the Enrollment Credential Provider has been accepted.
    `EnrollmentCredential` | `OnEnrollmentAuthenticationChallenge()` | This method is called to authenticate a challenge and provide a credential back to the requester.

- - ### Method Detail

    - #### OnEnrollmentAuthenticationChallenge

          EnrollmentCredential OnEnrollmentAuthenticationChallenge()

      This method is called to authenticate a challenge and provide a credential back to the requester. Credential Provider needs to know how to handle the challenge and provide an appropriate EnrollmentCredential in response.
      Returns:
        Enrollment credentials including Certificate Common Name and enrollment password.

    - #### OnCredentialAccepted

          void OnCredentialAccepted()

      This method is called by the requester to report that the credential returned by the Enrollment Credential Provider has been accepted.