Package com.avaya.clientservices.credentials

## Class EnrollmentCredential

- java.lang.Object
- - com.avaya.clientservices.credentials.EnrollmentCredential

-     public class EnrollmentCredential
      extends java.lang.Object

  Represents a user credential that can be used to respond to an authentication credential challenge.

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `EnrollmentCredential​(java.lang.String commonName, java.lang.String enrollmentPassword)` | Constructor of EnrollmentCredential with certificate Common Name and Enrollment Password.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `java.lang.String` | `getCommonName()` | Returns a string value of Certificate Common Name for the enrollment.
    `java.lang.String` | `getEnrollmentPassword()` | Returns a string value of enrollment password.

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### EnrollmentCredential

          public EnrollmentCredential​(java.lang.String commonName,
                                      java.lang.String enrollmentPassword)

      Constructor of EnrollmentCredential with certificate Common Name and Enrollment Password.
      Parameters:
        `commonName` - Certificate Common Name for enrollment.
        `enrollmentPassword` - Password for enrollment.

  - ### Method Detail

    - #### getCommonName

          public java.lang.String getCommonName()

      Returns a string value of Certificate Common Name for the enrollment.
      Returns:
        Certificate Common Name for enrollment.

    - #### getEnrollmentPassword

          public java.lang.String getEnrollmentPassword()

      Returns a string value of enrollment password.
      Returns:
        Certificate Common Name for enrollment.