Liking cljdoc? Tell your friends :D

org.rssys.gost.armor

Functions to work with armored messages

Functions to work with armored messages
raw docstring

end-lineclj

source

read-armored-bodyclj

(read-armored-body pem-body)

Returns plain message from armored signed message

Returns plain message from armored signed message
sourceraw docstring

sign-messageclj

(sign-message private-key message & {:keys [headers datetime-formatter]})

Sign text message and headers data with PrivateKey. headers - an optional map where only string and keywords are allowed (no nested maps). time of signature is always added to headers. datetime-formatter is optional parameter should be of ^java.time.format.DateTimeFormatter class Returns armored text message with signature.

Sign text message and headers data with PrivateKey.
`headers` - an optional map where only string and keywords are allowed (no nested maps).
`time` of signature is always added to headers.
`datetime-formatter` is optional parameter should be of ^java.time.format.DateTimeFormatter class
Returns armored text message with signature.
sourceraw docstring

start-lineclj

source

verify-messageclj

(verify-message public-key armored-message)

Verify armored message and headers data with PublicKey. Returns ^String message if signature for headers and message is valid. Throws exception if signature is not valid.

Verify armored message and headers data with PublicKey.
Returns ^String message if signature for headers and message is valid. Throws exception if signature is not valid.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close