Top Description Fields Constructors Methods
org.bouncycastle.oer.its.ieee1609dot2

public Class SignerIdentifier

extends ASN1Object
implements ASN1Choice
Class Inheritance
All Implemented Interfaces
org.bouncycastle.asn1.ASN1Choice
Imports
org.bouncycastle.asn1.ASN1Choice, .ASN1Encodable, .ASN1Object, .ASN1Primitive, .ASN1TaggedObject, .BERTags, .DERNull, .DERTaggedObject, org.bouncycastle.oer.its.ieee1609dot2.basetypes.HashedId8

SignerIdentifier This structure allows the recipient of data to determine which keying material to use to authenticate the data. It also indicates the verification type to be used to generate the hash for verification, as specified in 5.3.1. Critical information fields:
  1. If present, this is a critical information field as defined in 5.2.6. An implementation that does not recognize the CHOICE value for this type when verifying a signed SPDU shall indicate that the signed SPDU is invalid.
  2. If present, certificate is a critical information field as defined in 5.2.6. An implementation that does not support the number of certificates in certificate when verifying a signed SPDU shall indicate that the signed SPDU is invalid. A compliant implementation shall support certificate fields containing at least one certificate.

SignerIdentifier ::= CHOICE { digest HashedId8, certificate SequenceOfCertificate, self NULL, ... }

Field Summary

Modifier and TypeField and Description
public static final int
private final int
public static final int
public static final int
private final ASN1Encodable

Constructor Summary

AccessConstructor and Description
public
SignerIdentifier(int choice, ASN1Encodable value)

private

Method Summary

Modifier and TypeMethod and Description
public static SignerIdentifier
certificate(SequenceOfCertificate sequenceOfCertificate)

public static SignerIdentifier
public int
public static SignerIdentifier
public ASN1Encodable
public static SignerIdentifier
self()

public ASN1Primitive
toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Method providing a primitive representation of this object suitable for encoding.
Inherited from org.bouncycastle.asn1.ASN1Object:
encodeToencodeToequalsgetEncodedgetEncodedhasEncodedTagValuehashCode

Field Detail

certificateback to summary
public static final int certificate
choiceback to summary
private final int choice
digestback to summary
public static final int digest
selfback to summary
public static final int self
signerIdentifierback to summary
private final ASN1Encodable signerIdentifier

Constructor Detail

SignerIdentifierback to summary
public SignerIdentifier(int choice, ASN1Encodable value)
SignerIdentifierback to summary
private SignerIdentifier(ASN1TaggedObject ato)

Method Detail

certificateback to summary
public static SignerIdentifier certificate(SequenceOfCertificate sequenceOfCertificate)
digestback to summary
public static SignerIdentifier digest(HashedId8 id)
getChoiceback to summary
public int getChoice()
getInstanceback to summary
public static SignerIdentifier getInstance(Object src)
getSignerIdentifierback to summary
public ASN1Encodable getSignerIdentifier()
selfback to summary
public static SignerIdentifier self()
toASN1Primitiveback to summary
public ASN1Primitive toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Doc from org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Method providing a primitive representation of this object suitable for encoding.

Returns:ASN1Primitive

a primitive representation of this object.

Annotations
@Override