Class DigitallySigned


  • public class DigitallySigned
    extends java.lang.Object
    Deprecated.
    Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar).
    • Method Detail

      • getSignature

        public byte[] getSignature()
        Deprecated.
      • encode

        public void encode​(java.io.OutputStream output)
                    throws java.io.IOException
        Deprecated.
        Encode this DigitallySigned to an OutputStream.
        Parameters:
        output - the OutputStream to encode to.
        Throws:
        java.io.IOException
      • parse

        public static DigitallySigned parse​(TlsContext context,
                                            java.io.InputStream input)
                                     throws java.io.IOException
        Deprecated.
        Parse a DigitallySigned from an InputStream.
        Parameters:
        context - the TlsContext of the current connection.
        input - the InputStream to parse from.
        Returns:
        a DigitallySigned object.
        Throws:
        java.io.IOException