Skip to contents

List key names in the morie keystore

Usage

morie_crypto_keystore_list(password, path = .morie_keystore_default_path())

Arguments

password

Character scalar.

path

Keystore path.

Value

Character vector of identifiers.

Examples

path <- tempfile(fileext = ".keystore")
morie_crypto_keystore_create("pw", path = path)
morie_crypto_keystore_store("k1", as.raw(1:4), as.raw(5:8), "pw", path = path)
morie_crypto_keystore_store("k2", as.raw(1:4), as.raw(5:8), "pw", path = path)
print(morie_crypto_keystore_list("pw", path = path))
#> [1] "k1" "k2"
unlink(path)