Package-level declarations

Types

Link copied to clipboard
object AuthScheme

Contains the standard auth schemes.

Link copied to clipboard
class DigestAlgorithm(val name: String, val hashName: String, val isSession: Boolean, val uri: String?)

Represents a hash algorithm used by HTTP Digest Authentication (RFC 7616) and XML Signature.

Link copied to clipboard
class DigestQop(val value: String)

Represents the quality of protection (qop) options for HTTP Digest Authentication as defined in RFC 7616.

Link copied to clipboard

Describes how a header should be encoded.

Link copied to clipboard
sealed class HttpAuthHeader

Describes an authentication header with a mandatory authScheme that usually is a standard AuthScheme.

Link copied to clipboard
value class KeyAlgorithm(val name: String)

Represents a cryptographic key algorithm family.

Link copied to clipboard
class SignatureAlgorithm(val name: String, val jcaAlgorithm: String, val digestAlgorithm: DigestAlgorithm, val keyAlgorithm: KeyAlgorithm, val xmlUri: String? = null, val jwaName: String? = null)

Represents a signature algorithm.

Functions

Link copied to clipboard

Parses an authorization header headerValue into a HttpAuthHeader.

Link copied to clipboard

Parses an authorization header headerValue into a list of HttpAuthHeader.

Link copied to clipboard

Creates a MessageDigest instance for this algorithm.

Link copied to clipboard

Creates a Signature instance for this algorithm.