Class SignatureAndHashAlgorithm


  • public class SignatureAndHashAlgorithm
    extends java.lang.Object
    RFC 5246 7.4.1.4.1
    • Field Detail

      • hash

        protected short hash
      • signature

        protected short signature
    • Constructor Detail

      • SignatureAndHashAlgorithm

        public SignatureAndHashAlgorithm​(short hash,
                                         short signature)
        Parameters:
        hash - HashAlgorithm
        signature - SignatureAlgorithm
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • encode

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