Expand description
Signature methods (RFC 5849 section 3.4.).
The OAuth standard allows for servers to implement their own custom signature methods. So the module provides an abstraction over signature methods so that users can implement those custom methods by themselves.
Re-exports§
pub use self::hmac_sha1::HmacSha1;hmac-sha1pub use self::hmac_sha1::HMAC_SHA1;hmac-sha1pub use self::hmac_sha256::HmacSha256;hmac-sha256pub use self::hmac_sha256::HMAC_SHA256;hmac-sha256pub use self::plaintext::Plaintext;pub use self::plaintext::PLAINTEXT;alloc
Modules§
- hmac_
sha1 hmac-sha1 - The
HMAC-SHA1signature method (RFC 5849 section 3.4.2.). - hmac_
sha256 hmac-sha256 - The
HMAC-SHA256signature method is not defined in the OAuth 1.0 specification. However, it is a common signature method used in practice. - plaintext
- The
PLAINTEXTsignature method (RFC 5849 section 3.4.4.).
Traits§
- Sign
- Algorithms to sign a signature base string (RFC 5849 section 3.4.1.).
- Signature
Method - Types that represent a signature method.