Method: KStor::Crypto::PublicKey#to_rbnacl

Defined in:
lib/kstor/crypto/keys.rb

#to_rbnaclObject

Convert ASCII-armored value to a RbNaCl public key.



79
80
81
# File 'lib/kstor/crypto/keys.rb', line 79

def to_rbnacl
  RbNaCl::PublicKey.new(to_binary)
end