object CryptoKeyPair extends HasVersionedMessageCompanion[CryptoKeyPair[PublicKey, PrivateKey]]
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- CryptoKeyPair
- HasVersionedMessageCompanion
- HasVersionedMessageCompanionCommon
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- type Deserializer = (ByteString) => ParsingResult[CryptoKeyPair[PublicKey, PrivateKey]]
- Definition Classes
- HasVersionedMessageCompanion → HasVersionedMessageCompanionCommon
- type Serializer = (CryptoKeyPair[PublicKey, PrivateKey]) => ByteString
- Definition Classes
- HasVersionedMessageCompanionCommon
- case class ProtoCodec(fromInclusive: ProtocolVersion, deserializer: Deserializer, serializer: Serializer) extends Product with Serializable
- Definition Classes
- HasVersionedMessageCompanionCommon
- case class SupportedProtoVersions extends Product with Serializable
- Definition Classes
- HasVersionedMessageCompanionCommon
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def fromByteArray(bytes: Array[Byte]): ParsingResult[CryptoKeyPair[PublicKey, PrivateKey]]
- Definition Classes
- HasVersionedMessageCompanion
- def fromByteString(bytes: ByteString): ParsingResult[CryptoKeyPair[PublicKey, PrivateKey]]
- Definition Classes
- HasVersionedMessageCompanion
- def fromProtoCryptoKeyPairV0(keyPair: v0.CryptoKeyPair): ParsingResult[CryptoKeyPair[_ <: PublicKey, _ <: PrivateKey]]
- def fromProtoVersioned(proto: VersionedMessage[CryptoKeyPair[PublicKey, PrivateKey]]): ParsingResult[CryptoKeyPair[PublicKey, PrivateKey]]
- Definition Classes
- HasVersionedMessageCompanion
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- implicit def hasVersionedWrapperGetResult(implicit getResultByteArray: GetResult[Array[Byte]]): GetResult[CryptoKeyPair[PublicKey, PrivateKey]]
- Definition Classes
- HasVersionedMessageCompanion
- implicit def hasVersionedWrapperGetResultO(implicit getResultByteArrayO: GetResult[Option[Array[Byte]]]): GetResult[Option[CryptoKeyPair[PublicKey, PrivateKey]]]
- Definition Classes
- HasVersionedMessageCompanion
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def name: String
The name of the class as used for pretty-printing and error reporting
The name of the class as used for pretty-printing and error reporting
- Definition Classes
- CryptoKeyPair → HasVersionedMessageCompanionCommon
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def readFromFile(inputFile: String): Either[String, CryptoKeyPair[PublicKey, PrivateKey]]
- Definition Classes
- HasVersionedMessageCompanion
- def supportedProtoVersion[Proto <: GeneratedMessage](p: GeneratedMessageCompanion[Proto])(fromProto: (Proto) => ParsingResult[CryptoKeyPair[PublicKey, PrivateKey]]): (ByteString) => ParsingResult[CryptoKeyPair[PublicKey, PrivateKey]]
- Attributes
- protected
- Definition Classes
- HasVersionedMessageCompanion
- val supportedProtoVersions: SupportedProtoVersions
Proto versions that are supported by
fromProtoVersioned
,fromByteString
,toProtoVersioned
andtoByteString
.Proto versions that are supported by
fromProtoVersioned
,fromByteString
,toProtoVersioned
andtoByteString
. See the helperssupportedProtoVersion
andsupportedProtoVersionMemoized
below to define aProtoCodec
.- Definition Classes
- CryptoKeyPair → HasVersionedMessageCompanionCommon
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def tryFromByteString(bytes: ByteString): CryptoKeyPair[PublicKey, PrivateKey]
- Definition Classes
- HasVersionedMessageCompanion
- def tryReadFromFile(inputFile: String): CryptoKeyPair[PublicKey, PrivateKey]
- Definition Classes
- HasVersionedMessageCompanion
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- object SupportedProtoVersions extends Serializable
- Definition Classes
- HasVersionedMessageCompanionCommon