View Source hex_registry (hex_core v0.10.3)

Functions for encoding and decoding Hex registries.

Summary

Types

private_key/0

-type private_key() ::
          #'RSAPrivateKey'{version :: term(),
                           modulus :: term(),
                           publicExponent :: term(),
                           privateExponent :: term(),
                           prime1 :: term(),
                           prime2 :: term(),
                           exponent1 :: term(),
                           exponent2 :: term(),
                           coefficient :: term(),
                           otherPrimeInfos :: term()} |
          binary().

public_key/0

-type public_key() :: #'RSAPublicKey'{modulus :: term(), publicExponent :: term()} | binary().

Functions

build_names(Names, PrivateKey)

Builds names resource.

build_package(Package, PrivateKey)

Builds package resource.

build_versions(Versions, PrivateKey)

Builds versions resource.

unpack_names(Payload, Repository, PublicKey)

Unpacks names resource.

unpack_package(Payload, Repository, Name, PublicKey)

Unpacks package resource.

unpack_versions(Payload, Repository, PublicKey)

Unpacks versions resource.