Class IssuerIdentifier
- java.lang.Object
-
- org.bouncycastle.asn1.ASN1Object
-
- org.bouncycastle.oer.its.ieee1609dot2.IssuerIdentifier
-
- All Implemented Interfaces:
org.bouncycastle.asn1.ASN1Choice,org.bouncycastle.asn1.ASN1Encodable,org.bouncycastle.util.Encodable
public class IssuerIdentifier extends org.bouncycastle.asn1.ASN1Object implements org.bouncycastle.asn1.ASN1ChoiceIssuerIdentifier ::= CHOICE { sha256AndDigest HashedId8, self HashAlgorithm, ..., sha384AndDigest HashedId8 }
-
-
Field Summary
Fields Modifier and Type Field Description static intselfstatic intsha256AndDigeststatic intsha384AndDigest
-
Constructor Summary
Constructors Constructor Description IssuerIdentifier(int choice, org.bouncycastle.asn1.ASN1Encodable value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetChoice()static IssuerIdentifiergetInstance(java.lang.Object choice)org.bouncycastle.asn1.ASN1EncodablegetIssuerIdentifier()booleanisSelf()static IssuerIdentifierself(HashAlgorithm data)static IssuerIdentifiersha256AndDigest(HashedId8 data)static IssuerIdentifiersha384AndDigest(HashedId8 data)org.bouncycastle.asn1.ASN1PrimitivetoASN1Primitive()
-
-
-
Field Detail
-
sha256AndDigest
public static final int sha256AndDigest
- See Also:
- Constant Field Values
-
self
public static final int self
- See Also:
- Constant Field Values
-
sha384AndDigest
public static final int sha384AndDigest
- See Also:
- Constant Field Values
-
-
Method Detail
-
sha256AndDigest
public static IssuerIdentifier sha256AndDigest(HashedId8 data)
-
self
public static IssuerIdentifier self(HashAlgorithm data)
-
sha384AndDigest
public static IssuerIdentifier sha384AndDigest(HashedId8 data)
-
getInstance
public static IssuerIdentifier getInstance(java.lang.Object choice)
-
isSelf
public boolean isSelf()
-
getChoice
public int getChoice()
-
getIssuerIdentifier
public org.bouncycastle.asn1.ASN1Encodable getIssuerIdentifier()
-
toASN1Primitive
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
- Specified by:
toASN1Primitivein interfaceorg.bouncycastle.asn1.ASN1Encodable- Specified by:
toASN1Primitivein classorg.bouncycastle.asn1.ASN1Object
-
-