Class SignerIdentifier

java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.cms.SignerIdentifier
All Implemented Interfaces:
ASN1Choice, ASN1Encodable

public class SignerIdentifier
extends ASN1Object
implements ASN1Choice
  • Constructor Details

  • Method Details

    • getInstance

      public static SignerIdentifier getInstance​(Object o)
      return a SignerIdentifier object from the given object.
      Parameters:
      o - the object we want converted.
      Throws:
      IllegalArgumentException - if the object cannot be converted.
    • isTagged

      public boolean isTagged()
    • getId

      public ASN1Encodable getId()
    • toASN1Primitive

      public ASN1Primitive toASN1Primitive()
      Produce an object suitable for an ASN1OutputStream.
       SignerIdentifier ::= CHOICE {
           issuerAndSerialNumber IssuerAndSerialNumber,
           subjectKeyIdentifier [0] SubjectKeyIdentifier 
       }
      
       SubjectKeyIdentifier ::= OCTET STRING
       
      Specified by:
      toASN1Primitive in interface ASN1Encodable
      Specified by:
      toASN1Primitive in class ASN1Object