hex_registry (hex_core v0.8.0) View Source

Functions for encoding and decoding Hex registries.

Link to this section Summary

Link to this section Types

Specs

private_key() :: #'RSAPrivateKey'{} | binary().

Specs

public_key() :: #'RSAPublicKey'{} | binary().

Link to this section Functions

Link to this function

build_names(Names, PrivateKey)

View Source
Builds names resource.
Link to this function

build_package(Package, PrivateKey)

View Source
Builds package resource.
Link to this function

build_versions(Versions, PrivateKey)

View Source
Builds versions resource.
Link to this function

unpack_names(Payload, Repository, PublicKey)

View Source
Unpacks names resource.
Link to this function

unpack_package(Payload, Repository, Name, PublicKey)

View Source
Unpacks package resource.
Link to this function

unpack_versions(Payload, Repository, PublicKey)

View Source
Unpacks versions resource.