Packages

final case class SymmetricKey extends CryptoKey with MemoizedEvidence with HasVersionedWrapper[VersionedSymmetricKey] with NoCopy with Product with Serializable

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SymmetricKey
  2. NoCopy
  3. HasVersionedWrapper
  4. MemoizedEvidence
  5. HasCryptographicEvidence
  6. HasVersionedToByteString
  7. CryptoKey
  8. Serializable
  9. Product
  10. Equals
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. def copy(nothing: Nothing): Nothing
    Attributes
    protected
    Definition Classes
    NoCopy
  7. val deserializedFrom: Option[ByteString]

    Returns the com.google.protobuf.ByteString from which this object has been deserialized, if any.

    Returns the com.google.protobuf.ByteString from which this object has been deserialized, if any. If defined, getCryptographicEvidence will use this as the serialization.

    Definition Classes
    SymmetricKeyMemoizedEvidence
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. val format: CryptoKeyFormat
    Definition Classes
    SymmetricKeyCryptoKey
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. final lazy val getCryptographicEvidence: ByteString

    Returns the serialization of the object into a com.google.protobuf.ByteString.

    Returns the serialization of the object into a com.google.protobuf.ByteString. In particular, every instance i of this trait must equal fromByteString(i.toByteString).

    This method must yield the same result if it is invoked several times.

    Definition Classes
    MemoizedEvidenceHasCryptographicEvidence
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. val key: ByteString
    Attributes
    protected[crypto]
    Definition Classes
    SymmetricKeyCryptoKey
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. def productElementNames: Iterator[String]
    Definition Classes
    Product
  18. val scheme: SymmetricKeyScheme
  19. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  20. def toByteArray(version: ProtocolVersion): Array[Byte]

    Yields a byte array representation of the corresponding Versioned... wrapper of this instance.

    Yields a byte array representation of the corresponding Versioned... wrapper of this instance.

    Definition Classes
    HasVersionedWrapper
  21. def toByteString(version: ProtocolVersion): ByteString

    Yields a byte string representation of the corresponding Versioned... wrapper of this instance.

    Yields a byte string representation of the corresponding Versioned... wrapper of this instance.

    Definition Classes
    HasVersionedWrapperHasVersionedToByteString
  22. def toByteStringUnmemoized(version: ProtocolVersion): ByteString

    Computes the serialization of the object as a com.google.protobuf.ByteString.

    Computes the serialization of the object as a com.google.protobuf.ByteString.

    Must meet the contract of getCryptographicEvidence except that when called several times, different com.google.protobuf.ByteStrings may be returned.

    Attributes
    protected
    Definition Classes
    SymmetricKeyMemoizedEvidence
  23. def toProtoV0: v0.SymmetricKey
    Attributes
    protected
  24. def toProtoVersioned(version: ProtocolVersion): VersionedSymmetricKey

    Yields the proto representation of the class inside a Versioned... wrapper.

    Yields the proto representation of the class inside a Versioned... 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.MemoizedEvidence).

    Attributes
    protected
    Definition Classes
    SymmetricKeyHasVersionedWrapper
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. def writeToFile(outputFile: String, version: ProtocolVersion = ProtocolVersion.latest): Unit

    Writes the byte string representation of the corresponding Versioned... wrapper of this instance to a file.

    Writes the byte string representation of the corresponding Versioned... wrapper of this instance to a file.

    Definition Classes
    HasVersionedWrapper

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from NoCopy

Inherited from MemoizedEvidence

Inherited from CryptoKey

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped