Class ISO9000Trait
java.lang.Object
org.bouncycastle.asn1.ASN1Object
- All Implemented Interfaces:
org.bouncycastle.asn1.ASN1Encodable, org.bouncycastle.util.Encodable
ISO9000Trait TRAIT ::= {
SYNTAX ISO9000Certification
IDENTIFIED BY tcg-tr-ID-ISO9000 }
A Trait that contains an ISO9000 certification assertion using the ISO9000Trait SHALL use tcg-tr-cat-ISO9000 in its traitCategory field.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classISO9000Trait.ISO9000TraitBuilder<C extends ISO9000Trait, B extends ISO9000Trait.ISO9000TraitBuilder<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 TypeMethodDescriptionstatic ISO9000Trait.ISO9000TraitBuilder<?, ?> builder()Initializes a builder with expected ISO9000Trait metadata.createInstance(Object obj) Common method to getInstance.static ISO9000TraitfromASN1Sequence(org.bouncycastle.asn1.ASN1Sequence seq) Attempts to read the provided sequence into an instance of this trait.static ISO9000TraitfromJsonNode(tools.jackson.databind.JsonNode node) Attempts to read the provided JSON node into an instance of this trait.static ISO9000TraitgetInstance(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
-
ISO9000Trait
public ISO9000Trait()
-
-
Method Details
-
getInstance
Attempts to convert the provided object into an instance of this trait.- Parameters:
obj- the object to convert- Returns:
- ISO9000Trait
-
createInstance
Description copied from class:TraitCommon method to getInstance.- Specified by:
createInstancein classTrait<ISO9000Certification, ISO9000Trait>- Parameters:
obj- Object- Returns:
- Trait type
-
fromASN1Sequence
Attempts to read the provided sequence into an instance of this trait.- Parameters:
seq- ASN1Sequence to parse- Returns:
- ISO9000Trait
-
fromJsonNode
Attempts to read the provided JSON node into an instance of this trait.- Parameters:
node- JSON node to parse- Returns:
- ISO9000Trait
-
builder
Initializes a builder with expected ISO9000Trait metadata.- Returns:
- ISO9000Trait Builder
-