[][src]Module signatory::encoding

Support for encoding and decoding serialization formats (hex and Base64) with implementations that do not branch on potentially secret data, such as cryptographic keys.

Re-exports

pub use self::pkcs8::FromPkcs8;
pub use self::error::Error;

Modules

error

Encoding errors

pkcs8

Support for the PKCS#8 private key format described in RFC 5208 and RFC 5915.

Structs

Base64

Base64 Encoding (traditional non-URL-safe RFC 4648 version)

Hex

Hexadecimal Encoding (a.k.a. Base16)

Identity

Encoding which does not transform data and returns the original input.

Constants

FILE_MODE

Mode to use for newly created files

Traits

Decode

Decode keys/signatures from encoded data (e.g. hex, Base64). Uses constant time encoder/decoder implementations.

Encode

Serialize keys/signatures with the given encoding (e.g. hex, Base64). Uses constant time encoder/decoder implementations.