Sha256: 78357755a4c5f34ac158d6db851dd0169dc179cbf82e527c3a17c0cfdc80a781

Contents?: true

Size: 916 Bytes

Versions: 10

Compression:

Stored size: 916 Bytes

Contents

// Copyright 2015 Stellar Development Foundation and contributors. Licensed
// under the Apache License, Version 2.0. See the COPYING file at the root
// of this distribution or at http://www.apache.org/licenses/LICENSE-2.0

namespace stellar
{

typedef opaque Hash[32];
typedef opaque uint256[32];

typedef unsigned int uint32;
typedef int int32;

typedef unsigned hyper uint64;
typedef hyper int64;

enum CryptoKeyType
{
    KEY_TYPE_ED25519 = 0
};

union PublicKey switch (CryptoKeyType type)
{
case KEY_TYPE_ED25519:
    uint256 ed25519;
};

// variable size as the size depends on the signature scheme used
typedef opaque Signature<64>;

typedef opaque SignatureHint[4];

typedef PublicKey NodeID;

struct Curve25519Secret
{
        opaque key[32];
};

struct Curve25519Public
{
        opaque key[32];
};

struct HmacSha256Key
{
        opaque key[32];
};

struct HmacSha256Mac
{
        opaque mac[32];
};

}

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
stellar-base-0.11.0 xdr/Stellar-types.x
auction-ruby-base-0.1.3 xdr/Stellar-types.x
auction-ruby-base-0.1.2 xdr/Stellar-types.x
auction-ruby-base-0.1.1 xdr/Stellar-types.x
stellar-base-0.10.0 xdr/Stellar-types.x
stellar-base-0.9.0 xdr/Stellar-types.x
stellar-base-0.8.0 xdr/Stellar-types.x
stellar-base-0.7.0 xdr/Stellar-types.x
stellar-base-0.6.1 xdr/Stellar-types.x
stellar-base-0.6.0 xdr/Stellar-types.x