Class ResponseAuthenticator

  • All Implemented Interfaces:
    Authenticator

    public class ResponseAuthenticator
    extends Object
    implements Authenticator
    Represents the response authenticator as defined in section 3 of RFC 2865. It is used to verify authenticity and integrity of its containing packet relative to the request which generated the response.
    • Constructor Detail

      • ResponseAuthenticator

        public ResponseAuthenticator​(byte[] octets)
        Generates a response authenticator field from its on-the-wire bytes.
        Parameters:
        octets - the on-the-wire bytes.
    • Method Detail

      • getOctets

        public byte[] getOctets()
        Returns the contained on-the-wire bytes of the authenticator.
        Specified by:
        getOctets in interface Authenticator
        Returns:
        the on-the-wire bytes.