View Source hex_registry (hex_core v0.10.0)
Link to this section Summary
Functions
Builds names resource.
Builds package resource.
Builds versions resource.
Unpacks names resource.
Unpacks package resource.
Unpacks versions resource.
Link to this section Types
-type private_key() :: #'RSAPrivateKey'{} | binary().
-type public_key() :: #'RSAPublicKey'{} | binary().
Link to this section Functions
-spec decode_and_verify_signed(binary(), public_key()) -> {ok, binary()} | {error, term()}.
-spec sign(binary(), private_key()) -> binary().
-spec verify(binary(), binary(), public_key()) -> boolean() | {error, term()}.