Share via


CryptoKey Class

Definition

Crypto key properties

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

Constructors

CryptoKey()

Creates an new CryptoKey instance.

Properties

FilePath

List of files where this key was found.

Id

ID for the key result.

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).

PairedKeyId

ID of the paired key or certificate.

PairedKeyType

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

Usage

Functions the key can fulfill.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of CryptoKey.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of CryptoKey.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of CryptoKey into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to