final case class SymmetricKey(format: CryptoKeyFormat, key: ByteString, scheme: SymmetricKeyScheme) extends CryptoKey with HasVersionedWrapper[VersionedMessage[SymmetricKey]] with NoCopy with Product with Serializable
- Alphabetic
- By Inheritance
- SymmetricKey
- NoCopy
- HasVersionedWrapper
- HasVersionedToByteString
- CryptoKey
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new SymmetricKey(format: CryptoKeyFormat, key: ByteString, scheme: SymmetricKeyScheme)
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()
- def copy(nothing: Nothing): Nothing
- Attributes
- protected
- Definition Classes
- NoCopy
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val format: CryptoKeyFormat
- Definition Classes
- SymmetricKey → CryptoKey
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val key: ByteString
- Attributes
- protected[crypto]
- Definition Classes
- SymmetricKey → CryptoKey
- 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 productElementNames: Iterator[String]
- Definition Classes
- Product
- val scheme: SymmetricKeyScheme
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toByteArray(version: ProtocolVersion): Array[Byte]
Yields a byte array representation of the corresponding
UntypedVersionedMessage
wrapper of this instance.Yields a byte array representation of the corresponding
UntypedVersionedMessage
wrapper of this instance.- Definition Classes
- HasVersionedWrapper
- def toByteString(version: ProtocolVersion): ByteString
Yields a byte string representation of the corresponding
UntypedVersionedMessage
wrapper of this instance.Yields a byte string representation of the corresponding
UntypedVersionedMessage
wrapper of this instance.- Definition Classes
- HasVersionedWrapper → HasVersionedToByteString
- def toProtoV0: v0.SymmetricKey
- Attributes
- protected
- def toProtoVersioned(version: ProtocolVersion): VersionedMessage[SymmetricKey]
Yields the proto representation of the class inside an
UntypedVersionedMessage
wrapper.Yields the proto representation of the class inside an
UntypedVersionedMessage
wrapper.Subclasses should make this method public by default, as this supports composing proto serializations. Keep it protected, if there are good reasons for it (e.g. com.digitalasset.canton.serialization.ProtocolVersionedMemoizedEvidence).
- Attributes
- protected
- Definition Classes
- SymmetricKey → HasVersionedWrapper
- 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])
- def writeToFile(outputFile: String, version: ProtocolVersion = ProtocolVersion.latest): Unit
Writes the byte string representation of the corresponding
UntypedVersionedMessage
wrapper of this instance to a file.Writes the byte string representation of the corresponding
UntypedVersionedMessage
wrapper of this instance to a file.- Definition Classes
- HasVersionedWrapper