Class PENTrait
java.lang.Object
org.bouncycastle.asn1.ASN1Object
paccor.tcg.credential.Trait<org.bouncycastle.asn1.ASN1ObjectIdentifier, PENTrait>
paccor.tcg.credential.PENTrait
- All Implemented Interfaces:
org.bouncycastle.asn1.ASN1Encodable, org.bouncycastle.util.Encodable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classPENTrait.PENTraitBuilder<C extends PENTrait, B extends PENTrait.PENTraitBuilder<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 PENTrait.PENTraitBuilder<?, ?> builder()Initializes a builder with expected PENTrait metadata.createInstance(Object obj) Common method to getInstance.static PENTraitfromASN1Sequence(org.bouncycastle.asn1.ASN1Sequence seq) Attempts to read the provided sequence into an instance of this trait.static PENTraitfromJsonNode(tools.jackson.databind.JsonNode node) Attempts to read the provided JSON node into an instance of this trait.static PENTraitgetInstance(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
-
PENTrait
public PENTrait()
-
-
Method Details
-
getInstance
-
createInstance
-
fromASN1Sequence
Attempts to read the provided sequence into an instance of this trait.- Parameters:
seq- ASN1Sequence to parse- Returns:
- PENTrait
-
fromJsonNode
Attempts to read the provided JSON node into an instance of this trait.- Parameters:
node- JSON node to parse- Returns:
- PENTrait
-
builder
Initializes a builder with expected PENTrait metadata.- Returns:
- PENTrait Builder
-