# Certificate

## NAMESPACE

RASAdminEngine.Core.OutputModels

## DESCRIPTION

The Certificate

## INHERITED FROM

[RASSerilazableObj](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/rasserilazableobj)

⇒

[RASListObj](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/raslistobj)

⇒

Certificate

## INTERFACES

* ISerializable
* IComparable

## PUBLIC PROPERTIES

| Type                                                                                                                                             | Name           | Description                                                                                                                                                                             |
| ------------------------------------------------------------------------------------------------------------------------------------------------ | -------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| String                                                                                                                                           | AdminCreate    | Inherited from [RASListObj](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/raslistobj) User who created the object.            |
| String                                                                                                                                           | AdminLastMod   | Inherited from [RASListObj](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/raslistobj) User who last modified the object.      |
| String                                                                                                                                           | AlternateNames | The alternate names of the certificate.                                                                                                                                                 |
| String                                                                                                                                           | CommonName     | The common name of the certificate.                                                                                                                                                     |
| String                                                                                                                                           | Description    | The description of the certificate.                                                                                                                                                     |
| Boolean                                                                                                                                          | Enabled        | Whether the certificate is enabled or not. Nullable\<DateTime> ExpirationDate The expiration date of the certificate.                                                                   |
| UInt32                                                                                                                                           | Id             | ID of the object.                                                                                                                                                                       |
| String                                                                                                                                           | Intermediate   | The intermediate.                                                                                                                                                                       |
| [CertificateKeySize](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/certificatekeysize) | KeySize        | The certificate key size.                                                                                                                                                               |
| String                                                                                                                                           | Name           | Certificate Name.                                                                                                                                                                       |
| String                                                                                                                                           | PublicKey      | The public key.                                                                                                                                                                         |
| String                                                                                                                                           | Request        | The certificate request.                                                                                                                                                                |
| UInt32                                                                                                                                           | SiteId         | ID of the site.                                                                                                                                                                         |
| [CertificateStatus](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/certificatestatus)   | Status         | Indicates if the certificate is usable.                                                                                                                                                 |
| DateTime                                                                                                                                         | TimeCreate     | Inherited from [RASListObj](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/raslistobj) Time when the object was created.       |
| DateTime                                                                                                                                         | TimeLastMod    | Inherited from [RASListObj](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/raslistobj) Time when the object was last modified. |
| [CertificateType](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/certificatetype)       | Type           | Whether the certificate is Self-Signed, Imported or Requested.                                                                                                                          |
| [CertificateUsages](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/certificateusages)   | Usage          | A set of assigned certificate usages. To form a set of usages 'OR' individual usage enums.                                                                                              |

## PUBLIC METHODS

| Type                                                                                                                                                                                | Name                       | Description                                                                                                                                                   |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Int32                                                                                                                                                                               | CompareTo (Object obj)     | Inherited from [RASSerilazableObj](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/rasserilazableobj) |
| Boolean                                                                                                                                                                             | Equals (Object obj)        | Inherited from [RASSerilazableObj](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/rasserilazableobj) |
| Int32                                                                                                                                                                               | GetHashCode ()             | Inherited from [RASSerilazableObj](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/rasserilazableobj) |
| Type                                                                                                                                                                                | GetType ()                 | String                                                                                                                                                        |
| ToString ()                                                                                                                                                                         | ### References to Commands |                                                                                                                                                               |
| ----                                                                                                                                                                                |                            |                                                                                                                                                               |
| [Invoke-RASExportCertificate](https://github.com/Parallels-Corp/TEST-docs/blob/LatestDoc/21_Release/20_RAS_21_API_Guides/PS_API/MD/RASAdmin/cmdlets/Invoke-RASExportCertificate.md) |                            |                                                                                                                                                               |
| [Set-RASCertificate](https://github.com/Parallels-Corp/TEST-docs/blob/LatestDoc/21_Release/20_RAS_21_API_Guides/PS_API/MD/RASAdmin/cmdlets/Set-RASCertificate.md)                   |                            |                                                                                                                                                               |
