Class SignerInfo

    • Method Detail

      • getInstance

        public static SignerInfo getInstance​(java.lang.Object o)
      • getAuthenticatedAttributes

        public ASN1Set getAuthenticatedAttributes()
      • getUnauthenticatedAttributes

        public ASN1Set getUnauthenticatedAttributes()
      • toASN1Primitive

        public ASN1Primitive toASN1Primitive()
        Produce an object suitable for an ASN1OutputStream.
          SignerInfo ::= SEQUENCE {
              version Version,
              issuerAndSerialNumber IssuerAndSerialNumber,
              digestAlgorithm DigestAlgorithmIdentifier,
              authenticatedAttributes [0] IMPLICIT Attributes OPTIONAL,
              digestEncryptionAlgorithm DigestEncryptionAlgorithmIdentifier,
              encryptedDigest EncryptedDigest,
              unauthenticatedAttributes [1] IMPLICIT Attributes OPTIONAL
          }
        
          EncryptedDigest ::= OCTET STRING
        
          DigestAlgorithmIdentifier ::= AlgorithmIdentifier
        
          DigestEncryptionAlgorithmIdentifier ::= AlgorithmIdentifier
         
        Specified by:
        toASN1Primitive in interface ASN1Encodable
        Specified by:
        toASN1Primitive in class ASN1Object
        Returns:
        a primitive representation of this object.