Share via


CryptoKeyResource Class

Definition

Crypto key resource

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

Constructors

CryptoKeyResource()

Creates an new CryptoKeyResource instance.

Properties

CryptoKeyId

ID for the key result.

FilePath

List of files where this key was found.

Id

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

IsShortKeySize

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

KeyAlgorithm

Key algorithm name.

KeySize

Size of the key in bits.

KeyType

Type of the key (public or private).

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.

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

Functions the key can fulfill.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of CryptoKeyResource.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of CryptoKeyResource.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of CryptoKeyResource into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to