Liking cljdoc? Tell your friends :D

roughtime-protocol.sign


format-public-keyclj

(format-public-key pub)
source

gen-ed25519-kpclj

(gen-ed25519-kp)

Generates a new Ed25519 KeyPair using the shared secure RNG.

Generates a new Ed25519 KeyPair using the shared secure RNG.
sourceraw docstring

pkcs8->private-keyclj

(pkcs8->private-key pkcs8-bytes)

Reconstructs an Ed25519 PrivateKey from a PKCS#8 byte array.

Reconstructs an Ed25519 PrivateKey from a PKCS#8 byte array.
sourceraw docstring

private-key->pkcs8clj

(private-key->pkcs8 sk)

Returns the given Ed25519 PrivateKey encoded in PKCS#8 format. Standard JCA Ed25519 keys use PKCS#8 for their default encoding.

Returns the given Ed25519 PrivateKey encoded in PKCS#8 format.
Standard JCA Ed25519 keys use PKCS#8 for their default encoding.
sourceraw docstring

private-key->raw-seed32clj

(private-key->raw-seed32 prv)

Extracts the raw 32-byte seed from a PrivateKey using Bouncy Castle utilities.

Extracts the raw 32-byte seed from a PrivateKey using Bouncy Castle utilities.
sourceraw docstring

public-key->raw-pub32clj

(public-key->raw-pub32 pub)

Extracts the raw 32-byte public key using Bouncy Castle utilities.

Extracts the raw 32-byte public key using Bouncy Castle utilities.
sourceraw docstring

public-key->spkiclj

(public-key->spki pk)

Returns the given Ed25519 PublicKey encoded in X.509 / SubjectPublicKeyInfo format.

Returns the given Ed25519 PublicKey encoded in X.509 / SubjectPublicKeyInfo format.
sourceraw docstring

raw-pub32->public-keyclj

(raw-pub32->public-key raw32)

Auditable reconstruction using BC SubjectPublicKeyInfoFactory.

Auditable reconstruction using BC SubjectPublicKeyInfoFactory.
sourceraw docstring

raw-seed32->private-keyclj

(raw-seed32->private-key seed32)

Auditable reconstruction using BC PrivateKeyInfoFactory.

Auditable reconstruction using BC PrivateKeyInfoFactory.
sourceraw docstring

signclj

(sign ba-content signer-key-prv)

Create a 64-byte Ed25519 signature.

Create a 64-byte Ed25519 signature.
sourceraw docstring

sign-with-contextclj

(sign-with-context ctx data prv)

Streams context and data into the signature object to avoid intermediate allocation.

Streams context and data into the signature object to avoid intermediate allocation.
sourceraw docstring

spki->public-keyclj

(spki->public-key spki-bytes)

Reconstructs an Ed25519 PublicKey from an SPKI byte array.

Reconstructs an Ed25519 PublicKey from an SPKI byte array.
sourceraw docstring

verifyclj

(verify ba-content signer-key-pub ba-signature)

Verifies an Ed25519 signature.

Verifies an Ed25519 signature.
sourceraw docstring

verify-with-contextclj

(verify-with-context ctx data pub signature)

Streams context and data into the verification object.

Streams context and data into the verification object.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close