CryptoCertificateResource Class

Definition

Crypto certificate resource

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.FirmwareAnalysis.Models.CryptoCertificateResourceTypeConverter))]
public class CryptoCertificateResource : Microsoft.Azure.PowerShell.Cmdlets.FirmwareAnalysis.Models.ICryptoCertificateResource, Microsoft.Azure.PowerShell.Cmdlets.FirmwareAnalysis.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.FirmwareAnalysis.Models.CryptoCertificateResourceTypeConverter))>]
type CryptoCertificateResource = class
    interface ICryptoCertificateResource
    interface IJsonSerializable
    interface IResource
    interface IValidates
Public Class CryptoCertificateResource
Implements ICryptoCertificateResource, IValidates
Inheritance
CryptoCertificateResource
Attributes
Implements

Constructors

CryptoCertificateResource()

Creates an new CryptoCertificateResource instance.

Properties

CryptoCertId

ID for the certificate result.

Encoding

Encoding used for the certificate.

ExpirationDate

Expiration date for the certificate.

FilePath

List of files where this certificate was found.

Fingerprint

Fingerprint of the certificate.

Id

Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"

IsExpired

Indicates if the certificate is expired.

IsSelfSigned

Indicates if the certificate is self-signed.

IsShortKeySize

Indicates the certificate's key size is considered too small to be secure for the key algorithm.

IssuedDate

Issue date for the certificate.

IssuerCommonName

Common name of the certificate entity.

IssuerCountry

Country code of the certificate entity.

IssuerOrganization

Organization of the certificate entity.

IssuerOrganizationalUnit

The organizational unit of the certificate entity.

IssuerState

Geographical state or province of the certificate entity.

IsWeakSignature

Indicates the signature algorithm used is insecure.

KeyAlgorithm

Key algorithm used in the certificate.

KeySize

Size of the certificate's key in bits

Name

The name of the resource

PairedKeyId

ID of the paired key or certificate.

PairedKeyType

The type indicating whether the paired object is a key or certificate.

PropertiesName

Name of the certificate.

Role

Role of the certificate (Root CA, etc)

SerialNumber

Serial number of the certificate.

SignatureAlgorithm

The signature algorithm used in the certificate.

SubjectCommonName

Common name of the certificate entity.

SubjectCountry

Country code of the certificate entity.

SubjectOrganization

Organization of the certificate entity.

SubjectOrganizationalUnit

The organizational unit of the certificate entity.

SubjectState

Geographical state or province of the certificate entity.

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

Type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Usage

List of functions the certificate can fulfill.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of CryptoCertificateResource.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of CryptoCertificateResource.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.FirmwareAnalysis.Models.ICryptoCertificateResource.

FromJsonString(String)

Creates a new instance of CryptoCertificateResource, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of CryptoCertificateResource into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to