Share via


CryptoCertificate Class

Definition

Crypto certificate properties

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.FirmwareAnalysis.Models.CryptoCertificateTypeConverter))]
public class CryptoCertificate : Microsoft.Azure.PowerShell.Cmdlets.FirmwareAnalysis.Models.ICryptoCertificate
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.FirmwareAnalysis.Models.CryptoCertificateTypeConverter))>]
type CryptoCertificate = class
    interface ICryptoCertificate
    interface IJsonSerializable
Public Class CryptoCertificate
Implements ICryptoCertificate
Inheritance
CryptoCertificate
Attributes
Implements

Constructors

CryptoCertificate()

Creates an new CryptoCertificate 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.

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

Name of the certificate.

PairedKeyId

ID of the paired key or certificate.

PairedKeyType

The type indicating whether the paired object is a key or 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.

Usage

List of functions the certificate can fulfill.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of CryptoCertificate.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of CryptoCertificate.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of CryptoCertificate into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to