Package com.ongres.scram.common
This package expose the messages used to implement a client/server of Salted Challenge Response
Authentication Mechanism (SCRAM).
-
Interface Summary Interface Description CharSupplier Represents an attribute (a key name) that is represented by a single char. -
Class Summary Class Description AbstractCharAttributeValue<T extends CharSupplier> Construct and write generic CharAttribute-Value pairs.AbstractScramMessage Basic implementation of the StringWritable interface, that overrides the toString() method.ClientFinalMessage Constructs and parses client-final-messages.ClientFirstMessage Constructs and parses client-first-messages.CryptoUtil Utility static methods for cryptography related tasks.Gs2AttributeValue Parse and write GS2 Attribute-Value pairs.Gs2Header GS2 header for SCRAM.ScramAttributeValue Parse and write SCRAM Attribute-Value pairs.ScramFunctions Utility functions (mostly crypto) for SCRAM.ScramStringFormatting Class with static methods that provide support for converting to/from salNames.ServerFinalMessage Constructs and parsesserver-final-messages
.ServerFirstMessage Constructs and parsesserver-first-messages
.StringWritable Abstract class to denote classes which can write to a StringBuffer.StringWritableCsv Helper class to generate Comma Separated Values of StringWritables.UsAsciiUtils Utility to remove non-printable characters from the US-ASCII String. -
Enum Summary Enum Description Gs2Attributes Possible values of a GS2 Attribute.Gs2CbindFlag Possible values of a GS2 Cbind Flag (channel binding; part of GS2 header).ScramAttributes SCRAM Attributes as defined in Section 5.1 of the RFC.ScramMechanism SCRAM Mechanisms supported by this library.StringPreparation StringPreparations enumerations to use in SCRAM.