Class SignerInfo

  • All Implemented Interfaces:
    DerEncoder

    public class SignerInfo
    extends java.lang.Object
    implements DerEncoder
    A SignerInfo, as defined in PKCS#7's signedData type.
    Version:
    1.27 97/12/10
    Author:
    Benjamin Renaud
    • Method Detail

      • encode

        public void encode​(DerOutputStream out)
                    throws java.io.IOException
        Throws:
        java.io.IOException
      • derEncode

        public void derEncode​(java.io.OutputStream out)
                       throws java.io.IOException
        DER encode this object onto an output stream. Implements the DerEncoder interface.
        Specified by:
        derEncode in interface DerEncoder
        Parameters:
        out - the output stream on which to write the DER encoding.
        Throws:
        java.io.IOException - on encoding error.
      • getCertificate

        public java.security.cert.X509Certificate getCertificate​(PKCS7 block)
                                                          throws java.io.IOException
        Throws:
        java.io.IOException
      • getVersion

        public BigInt getVersion()
      • getIssuerName

        public X500Name getIssuerName()
      • getCertificateSerialNumber

        public BigInt getCertificateSerialNumber()
      • getDigestAlgorithmId

        public AlgorithmId getDigestAlgorithmId()
      • getAuthenticatedAttributes

        public PKCS9Attributes getAuthenticatedAttributes()
      • getDigestEncryptionAlgorithmId

        public AlgorithmId getDigestEncryptionAlgorithmId()
      • getEncryptedDigest

        public byte[] getEncryptedDigest()
      • getUnauthenticatedAttributes

        public PKCS9Attributes getUnauthenticatedAttributes()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object