Jalopy::IPNS::PublicKey
Constants
FIELDS = {1 => {name: :type, pb_type: KeyType, crystal_type: KeyType, cast_type: KeyType, native: false, optional: false, repeated: false, default: KeyType::RSA, packed: false}, 2 => {name: :data, pb_type: :bytes, crystal_type: Slice(UInt8), cast_type: Slice(UInt8), native: true, optional: false, repeated: false, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)
Constructors
new(buf : Protobuf::Buffer)
Class methods
from_protobuf(io)
Instance methods
[](key : String)
data
to_protobuf(io : IO, embedded = false)
to_protobuf
type
type=(type : KeyType)