Class BACResult

    • Constructor Detail

      • BACResult

        public BACResult​(SecureMessagingWrapper wrapper)
        Creates a BAC result without specifying the initial access key.
        Parameters:
        wrapper - the secure messaging wrapper that resulted from the BAC protocol run
      • BACResult

        public BACResult​(AccessKeySpec bacKey,
                         SecureMessagingWrapper wrapper)
        Creates a BAC result.
        Parameters:
        bacKey - the initial access key
        wrapper - the secure messaging wrapper that resulted from the BAC protocol run
    • Method Detail

      • getBACKey

        public AccessKeySpec getBACKey()
        Returns the initial access key or null.
        Returns:
        the initial access key or null
      • getWrapper

        public SecureMessagingWrapper getWrapper()
        Returns the secure messaging wrapper.
        Returns:
        the secure messaging wrapper
      • toString

        public String toString()
        Returns a textual representation of this terminal authentication result.
        Overrides:
        toString in class Object
        Returns:
        a textual representation of this terminal authentication result
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object