Package io.provenance.scope.proto
Interface PK.PrivateKeyOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PK.PrivateKey,PK.PrivateKey.Builder
- Enclosing class:
- PK
public static interface PK.PrivateKeyOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanbool compressed = 4;getCurve().io.provenance.scope.KeyCurve curve = 3;int.io.provenance.scope.KeyCurve curve = 3;com.google.protobuf.ByteStringbytes key_bytes = 1;getType().io.provenance.scope.KeyType type = 2;int.io.provenance.scope.KeyType type = 2;Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getKeyBytes
com.google.protobuf.ByteString getKeyBytes()bytes key_bytes = 1;- Returns:
- The keyBytes.
-
getTypeValue
int getTypeValue().io.provenance.scope.KeyType type = 2;- Returns:
- The enum numeric value on the wire for type.
-
getType
PK.KeyType getType().io.provenance.scope.KeyType type = 2;- Returns:
- The type.
-
getCurveValue
int getCurveValue().io.provenance.scope.KeyCurve curve = 3;- Returns:
- The enum numeric value on the wire for curve.
-
getCurve
PK.KeyCurve getCurve().io.provenance.scope.KeyCurve curve = 3;- Returns:
- The curve.
-
getCompressed
boolean getCompressed()bool compressed = 4;- Returns:
- The compressed.
-