public static final class SignerOuterClass.MuSig2SessionRequest extends com.google.protobuf.GeneratedMessageV3 implements SignerOuterClass.MuSig2SessionRequestOrBuilder
signrpc.MuSig2SessionRequest| Modifier and Type | Class and Description |
|---|---|
static class |
SignerOuterClass.MuSig2SessionRequest.Builder
Protobuf type
signrpc.MuSig2SessionRequest |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ALL_SIGNER_PUBKEYS_FIELD_NUMBER |
static int |
KEY_LOC_FIELD_NUMBER |
static int |
OTHER_SIGNER_PUBLIC_NONCES_FIELD_NUMBER |
static int |
PREGENERATED_LOCAL_NONCE_FIELD_NUMBER |
static int |
TAPROOT_TWEAK_FIELD_NUMBER |
static int |
TWEAKS_FIELD_NUMBER |
static int |
VERSION_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
com.google.protobuf.ByteString |
getAllSignerPubkeys(int index)
A list of all public keys (serialized in 32-byte x-only format for v0.4.0
and 33-byte compressed format for v1.0.0rc2!) participating in the signing
session.
|
int |
getAllSignerPubkeysCount()
A list of all public keys (serialized in 32-byte x-only format for v0.4.0
and 33-byte compressed format for v1.0.0rc2!) participating in the signing
session.
|
java.util.List<com.google.protobuf.ByteString> |
getAllSignerPubkeysList()
A list of all public keys (serialized in 32-byte x-only format for v0.4.0
and 33-byte compressed format for v1.0.0rc2!) participating in the signing
session.
|
static SignerOuterClass.MuSig2SessionRequest |
getDefaultInstance() |
SignerOuterClass.MuSig2SessionRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
SignerOuterClass.KeyLocator |
getKeyLoc()
The key locator that identifies which key to use for signing.
|
SignerOuterClass.KeyLocatorOrBuilder |
getKeyLocOrBuilder()
The key locator that identifies which key to use for signing.
|
com.google.protobuf.ByteString |
getOtherSignerPublicNonces(int index)
An optional list of all public nonces of other signing participants that
might already be known.
|
int |
getOtherSignerPublicNoncesCount()
An optional list of all public nonces of other signing participants that
might already be known.
|
java.util.List<com.google.protobuf.ByteString> |
getOtherSignerPublicNoncesList()
An optional list of all public nonces of other signing participants that
might already be known.
|
com.google.protobuf.Parser<SignerOuterClass.MuSig2SessionRequest> |
getParserForType() |
com.google.protobuf.ByteString |
getPregeneratedLocalNonce()
A set of pre generated secret local nonces to use in the musig2 session.
|
int |
getSerializedSize() |
SignerOuterClass.TaprootTweakDesc |
getTaprootTweak()
An optional taproot specific tweak that must be specified if the MuSig2
combined key will be used as the main taproot key of a taproot output
on-chain.
|
SignerOuterClass.TaprootTweakDescOrBuilder |
getTaprootTweakOrBuilder()
An optional taproot specific tweak that must be specified if the MuSig2
combined key will be used as the main taproot key of a taproot output
on-chain.
|
SignerOuterClass.TweakDesc |
getTweaks(int index)
A series of optional generic tweaks to be applied to the the aggregated
public key.
|
int |
getTweaksCount()
A series of optional generic tweaks to be applied to the the aggregated
public key.
|
java.util.List<SignerOuterClass.TweakDesc> |
getTweaksList()
A series of optional generic tweaks to be applied to the the aggregated
public key.
|
SignerOuterClass.TweakDescOrBuilder |
getTweaksOrBuilder(int index)
A series of optional generic tweaks to be applied to the the aggregated
public key.
|
java.util.List<? extends SignerOuterClass.TweakDescOrBuilder> |
getTweaksOrBuilderList()
A series of optional generic tweaks to be applied to the the aggregated
public key.
|
SignerOuterClass.MuSig2Version |
getVersion()
The mandatory version of the MuSig2 BIP draft to use.
|
int |
getVersionValue()
The mandatory version of the MuSig2 BIP draft to use.
|
int |
hashCode() |
boolean |
hasKeyLoc()
The key locator that identifies which key to use for signing.
|
boolean |
hasTaprootTweak()
An optional taproot specific tweak that must be specified if the MuSig2
combined key will be used as the main taproot key of a taproot output
on-chain.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static SignerOuterClass.MuSig2SessionRequest.Builder |
newBuilder() |
static SignerOuterClass.MuSig2SessionRequest.Builder |
newBuilder(SignerOuterClass.MuSig2SessionRequest prototype) |
SignerOuterClass.MuSig2SessionRequest.Builder |
newBuilderForType() |
protected SignerOuterClass.MuSig2SessionRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static SignerOuterClass.MuSig2SessionRequest |
parseDelimitedFrom(java.io.InputStream input) |
static SignerOuterClass.MuSig2SessionRequest |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SignerOuterClass.MuSig2SessionRequest |
parseFrom(byte[] data) |
static SignerOuterClass.MuSig2SessionRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SignerOuterClass.MuSig2SessionRequest |
parseFrom(java.nio.ByteBuffer data) |
static SignerOuterClass.MuSig2SessionRequest |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SignerOuterClass.MuSig2SessionRequest |
parseFrom(com.google.protobuf.ByteString data) |
static SignerOuterClass.MuSig2SessionRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SignerOuterClass.MuSig2SessionRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static SignerOuterClass.MuSig2SessionRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SignerOuterClass.MuSig2SessionRequest |
parseFrom(java.io.InputStream input) |
static SignerOuterClass.MuSig2SessionRequest |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<SignerOuterClass.MuSig2SessionRequest> |
parser() |
SignerOuterClass.MuSig2SessionRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int KEY_LOC_FIELD_NUMBER
public static final int ALL_SIGNER_PUBKEYS_FIELD_NUMBER
public static final int OTHER_SIGNER_PUBLIC_NONCES_FIELD_NUMBER
public static final int TWEAKS_FIELD_NUMBER
public static final int TAPROOT_TWEAK_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
public static final int PREGENERATED_LOCAL_NONCE_FIELD_NUMBER
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasKeyLoc()
The key locator that identifies which key to use for signing.
.signrpc.KeyLocator key_loc = 1;hasKeyLoc in interface SignerOuterClass.MuSig2SessionRequestOrBuilderpublic SignerOuterClass.KeyLocator getKeyLoc()
The key locator that identifies which key to use for signing.
.signrpc.KeyLocator key_loc = 1;getKeyLoc in interface SignerOuterClass.MuSig2SessionRequestOrBuilderpublic SignerOuterClass.KeyLocatorOrBuilder getKeyLocOrBuilder()
The key locator that identifies which key to use for signing.
.signrpc.KeyLocator key_loc = 1;getKeyLocOrBuilder in interface SignerOuterClass.MuSig2SessionRequestOrBuilderpublic java.util.List<com.google.protobuf.ByteString> getAllSignerPubkeysList()
A list of all public keys (serialized in 32-byte x-only format for v0.4.0 and 33-byte compressed format for v1.0.0rc2!) participating in the signing session. The list will always be sorted lexicographically internally. This must include the local key which is described by the above key_loc.
repeated bytes all_signer_pubkeys = 2;getAllSignerPubkeysList in interface SignerOuterClass.MuSig2SessionRequestOrBuilderpublic int getAllSignerPubkeysCount()
A list of all public keys (serialized in 32-byte x-only format for v0.4.0 and 33-byte compressed format for v1.0.0rc2!) participating in the signing session. The list will always be sorted lexicographically internally. This must include the local key which is described by the above key_loc.
repeated bytes all_signer_pubkeys = 2;getAllSignerPubkeysCount in interface SignerOuterClass.MuSig2SessionRequestOrBuilderpublic com.google.protobuf.ByteString getAllSignerPubkeys(int index)
A list of all public keys (serialized in 32-byte x-only format for v0.4.0 and 33-byte compressed format for v1.0.0rc2!) participating in the signing session. The list will always be sorted lexicographically internally. This must include the local key which is described by the above key_loc.
repeated bytes all_signer_pubkeys = 2;getAllSignerPubkeys in interface SignerOuterClass.MuSig2SessionRequestOrBuilderindex - The index of the element to return.public java.util.List<com.google.protobuf.ByteString> getOtherSignerPublicNoncesList()
An optional list of all public nonces of other signing participants that might already be known.
repeated bytes other_signer_public_nonces = 3;getOtherSignerPublicNoncesList in interface SignerOuterClass.MuSig2SessionRequestOrBuilderpublic int getOtherSignerPublicNoncesCount()
An optional list of all public nonces of other signing participants that might already be known.
repeated bytes other_signer_public_nonces = 3;getOtherSignerPublicNoncesCount in interface SignerOuterClass.MuSig2SessionRequestOrBuilderpublic com.google.protobuf.ByteString getOtherSignerPublicNonces(int index)
An optional list of all public nonces of other signing participants that might already be known.
repeated bytes other_signer_public_nonces = 3;getOtherSignerPublicNonces in interface SignerOuterClass.MuSig2SessionRequestOrBuilderindex - The index of the element to return.public java.util.List<SignerOuterClass.TweakDesc> getTweaksList()
A series of optional generic tweaks to be applied to the the aggregated public key.
repeated .signrpc.TweakDesc tweaks = 4;getTweaksList in interface SignerOuterClass.MuSig2SessionRequestOrBuilderpublic java.util.List<? extends SignerOuterClass.TweakDescOrBuilder> getTweaksOrBuilderList()
A series of optional generic tweaks to be applied to the the aggregated public key.
repeated .signrpc.TweakDesc tweaks = 4;getTweaksOrBuilderList in interface SignerOuterClass.MuSig2SessionRequestOrBuilderpublic int getTweaksCount()
A series of optional generic tweaks to be applied to the the aggregated public key.
repeated .signrpc.TweakDesc tweaks = 4;getTweaksCount in interface SignerOuterClass.MuSig2SessionRequestOrBuilderpublic SignerOuterClass.TweakDesc getTweaks(int index)
A series of optional generic tweaks to be applied to the the aggregated public key.
repeated .signrpc.TweakDesc tweaks = 4;getTweaks in interface SignerOuterClass.MuSig2SessionRequestOrBuilderpublic SignerOuterClass.TweakDescOrBuilder getTweaksOrBuilder(int index)
A series of optional generic tweaks to be applied to the the aggregated public key.
repeated .signrpc.TweakDesc tweaks = 4;getTweaksOrBuilder in interface SignerOuterClass.MuSig2SessionRequestOrBuilderpublic boolean hasTaprootTweak()
An optional taproot specific tweak that must be specified if the MuSig2 combined key will be used as the main taproot key of a taproot output on-chain.
.signrpc.TaprootTweakDesc taproot_tweak = 5;hasTaprootTweak in interface SignerOuterClass.MuSig2SessionRequestOrBuilderpublic SignerOuterClass.TaprootTweakDesc getTaprootTweak()
An optional taproot specific tweak that must be specified if the MuSig2 combined key will be used as the main taproot key of a taproot output on-chain.
.signrpc.TaprootTweakDesc taproot_tweak = 5;getTaprootTweak in interface SignerOuterClass.MuSig2SessionRequestOrBuilderpublic SignerOuterClass.TaprootTweakDescOrBuilder getTaprootTweakOrBuilder()
An optional taproot specific tweak that must be specified if the MuSig2 combined key will be used as the main taproot key of a taproot output on-chain.
.signrpc.TaprootTweakDesc taproot_tweak = 5;getTaprootTweakOrBuilder in interface SignerOuterClass.MuSig2SessionRequestOrBuilderpublic int getVersionValue()
The mandatory version of the MuSig2 BIP draft to use. This is necessary to differentiate between the changes that were made to the BIP while this experimental RPC was already released. Some of those changes affect how the combined key and nonces are created.
.signrpc.MuSig2Version version = 6;getVersionValue in interface SignerOuterClass.MuSig2SessionRequestOrBuilderpublic SignerOuterClass.MuSig2Version getVersion()
The mandatory version of the MuSig2 BIP draft to use. This is necessary to differentiate between the changes that were made to the BIP while this experimental RPC was already released. Some of those changes affect how the combined key and nonces are created.
.signrpc.MuSig2Version version = 6;getVersion in interface SignerOuterClass.MuSig2SessionRequestOrBuilderpublic com.google.protobuf.ByteString getPregeneratedLocalNonce()
A set of pre generated secret local nonces to use in the musig2 session. This field is optional. This can be useful for protocols that need to send nonces ahead of time before the set of signer keys are known. This value MUST be 97 bytes and be the concatenation of two CSPRNG generated 32 byte values and local public key used for signing as specified in the key_loc field.
bytes pregenerated_local_nonce = 7;getPregeneratedLocalNonce in interface SignerOuterClass.MuSig2SessionRequestOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static SignerOuterClass.MuSig2SessionRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SignerOuterClass.MuSig2SessionRequest parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SignerOuterClass.MuSig2SessionRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SignerOuterClass.MuSig2SessionRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SignerOuterClass.MuSig2SessionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SignerOuterClass.MuSig2SessionRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SignerOuterClass.MuSig2SessionRequest parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static SignerOuterClass.MuSig2SessionRequest parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static SignerOuterClass.MuSig2SessionRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static SignerOuterClass.MuSig2SessionRequest parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static SignerOuterClass.MuSig2SessionRequest parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static SignerOuterClass.MuSig2SessionRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic SignerOuterClass.MuSig2SessionRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static SignerOuterClass.MuSig2SessionRequest.Builder newBuilder()
public static SignerOuterClass.MuSig2SessionRequest.Builder newBuilder(SignerOuterClass.MuSig2SessionRequest prototype)
public SignerOuterClass.MuSig2SessionRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected SignerOuterClass.MuSig2SessionRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static SignerOuterClass.MuSig2SessionRequest getDefaultInstance()
public static com.google.protobuf.Parser<SignerOuterClass.MuSig2SessionRequest> parser()
public com.google.protobuf.Parser<SignerOuterClass.MuSig2SessionRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public SignerOuterClass.MuSig2SessionRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder