Class PlatformFirmwareUpdateComplianceTrait
java.lang.Object
org.bouncycastle.asn1.ASN1Object
paccor.tcg.credential.Trait<PlatformFirmwareUpdateCompliance, PlatformFirmwareUpdateComplianceTrait>
paccor.tcg.credential.PlatformFirmwareUpdateComplianceTrait
- All Implemented Interfaces:
org.bouncycastle.asn1.ASN1Encodable, org.bouncycastle.util.Encodable
public class PlatformFirmwareUpdateComplianceTrait
extends Trait<PlatformFirmwareUpdateCompliance, PlatformFirmwareUpdateComplianceTrait>
PlatformFirmwareUpdateComplianceTrait TRAIT ::= {
SYNTAX PlatformFirmwareUpdateCompliance
IDENTIFIED BY tcg-tr-ID-platformFirmwareUpdateCompliance }
A Trait that identifies the platform firmware update mechanism using the PlatformFirmwareUpdateComplianceTrait SHALL use tcg-tr-cat-platformFirmwareUpdateCompliance in its traitCategory field.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classPlatformFirmwareUpdateComplianceTrait.PlatformFirmwareUpdateComplianceTraitBuilder<C extends PlatformFirmwareUpdateComplianceTrait, B extends PlatformFirmwareUpdateComplianceTrait.PlatformFirmwareUpdateComplianceTraitBuilder<C,B>> Needed to include this to satisfy Javadoc compiling.Nested classes/interfaces inherited from class Trait
Trait.TraitBuilder<TraitValueType, TraitType, C, B> -
Field Summary
Fields inherited from class Trait
MIN_SEQUENCE_SIZE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Initializes a builder with expected PlatformFirmwareUpdateComplianceTrait metadata.createInstance(Object obj) Common method to getInstance.fromASN1Sequence(org.bouncycastle.asn1.ASN1Sequence seq) Attempts to read the provided sequence into an instance of this trait.fromJsonNode(tools.jackson.databind.JsonNode node) Attempts to read the provided JSON node into an instance of this trait.getInstance(Object obj) Attempts to convert the provided object into an instance of this trait.Methods inherited from class Trait
canEqual, equals, getInstance, getInstance, hashCode, toASN1PrimitiveMethods inherited from class org.bouncycastle.asn1.ASN1Object
encodeTo, encodeTo, getEncoded, getEncoded, hasEncodedTagValue
-
Constructor Details
-
PlatformFirmwareUpdateComplianceTrait
public PlatformFirmwareUpdateComplianceTrait()
-
-
Method Details
-
getInstance
Attempts to convert the provided object into an instance of this trait.- Parameters:
obj- the object to convert- Returns:
- PlatformFirmwareUpdateComplianceTrait
-
createInstance
Description copied from class:TraitCommon method to getInstance.- Specified by:
createInstancein classTrait<PlatformFirmwareUpdateCompliance, PlatformFirmwareUpdateComplianceTrait>- Parameters:
obj- Object- Returns:
- Trait type
-
fromASN1Sequence
public static PlatformFirmwareUpdateComplianceTrait fromASN1Sequence(org.bouncycastle.asn1.ASN1Sequence seq) Attempts to read the provided sequence into an instance of this trait.- Parameters:
seq- ASN1Sequence to parse- Returns:
- PlatformFirmwareUpdateComplianceTrait
-
fromJsonNode
public static PlatformFirmwareUpdateComplianceTrait fromJsonNode(tools.jackson.databind.JsonNode node) Attempts to read the provided JSON node into an instance of this trait.- Parameters:
node- JSON node to parse- Returns:
- PlatformFirmwareUpdateComplianceTrait
-
builder
public static PlatformFirmwareUpdateComplianceTrait.PlatformFirmwareUpdateComplianceTraitBuilder<?,?> builder()Initializes a builder with expected PlatformFirmwareUpdateComplianceTrait metadata.- Returns:
- PlatformFirmwareUpdateComplianceTrait Builder
-