Class Publish
- java.lang.Object
-
- org.magmacollective.darkcrystal.keybackup.messageschemas.Publish
-
public class Publish extends java.lang.Object
Encode and Decode protobuf messages for the five message types
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Publish.BuildMessage
Build Dark Crystal Key Backup messages using Protobufclass
Publish.DecodeMessage
-
Field Summary
Fields Modifier and Type Field Description static int
BLAKE2B_BYTES
Hash length in bytesstatic int
CURVE25519_PUBLIC_KEY_BYTES
Public encryption key length in bytesstatic int
PUBLIC_KEY_LENGTH
Public signing key length in bytesstatic int
ROOT_ID_LENGTH
Root ID length in bytesstatic int
SIGNED_SHARD_MIN_LENGTH
Signed Shard length in bytesstatic java.lang.String
TOOL
Current library usedstatic java.lang.String
VERSION
Current version number
-
Constructor Summary
Constructors Constructor Description Publish()
-
-
-
Field Detail
-
VERSION
public static final java.lang.String VERSION
Current version number- See Also:
- Constant Field Values
-
TOOL
public static final java.lang.String TOOL
Current library used- See Also:
- Constant Field Values
-
ROOT_ID_LENGTH
public static final int ROOT_ID_LENGTH
Root ID length in bytes- See Also:
- Constant Field Values
-
PUBLIC_KEY_LENGTH
public static final int PUBLIC_KEY_LENGTH
Public signing key length in bytes- See Also:
- Constant Field Values
-
CURVE25519_PUBLIC_KEY_BYTES
public static final int CURVE25519_PUBLIC_KEY_BYTES
Public encryption key length in bytes- See Also:
- Constant Field Values
-
BLAKE2B_BYTES
public static final int BLAKE2B_BYTES
Hash length in bytes- See Also:
- Constant Field Values
-
SIGNED_SHARD_MIN_LENGTH
public static final int SIGNED_SHARD_MIN_LENGTH
Signed Shard length in bytes- See Also:
- Constant Field Values
-
-