Packages

final case class EncryptionPrivateKey extends PrivateKey with HasVersionedWrapper[EncryptionPrivateKey] with NoCopy with Product with Serializable

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

Type Members

  1. type K = EncryptionPrivateKey

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]) @IntrinsicCandidate() @native()
  6. def companionObj: EncryptionPrivateKey.type
    Attributes
    protected
    Definition Classes
    EncryptionPrivateKeyHasVersionedWrapper
  7. def copy(nothing: Nothing): Nothing
    Attributes
    protected
    Definition Classes
    NoCopy
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. val format: CryptoKeyFormat
    Definition Classes
    EncryptionPrivateKeyCryptoKey
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  11. val id: Fingerprint
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. def isPublicKey: Boolean
    Definition Classes
    PrivateKeyCryptoKeyPairKey
  14. val key: ByteString
    Attributes
    protected[crypto]
    Definition Classes
    EncryptionPrivateKeyCryptoKey
  15. val keySpec: EncryptionKeySpec
  16. val migrated: Boolean

    Indicates whether the key was migrated from an old format during creation.

    Indicates whether the key was migrated from an old format during creation.

    The crypto stores read and check the keys during initialization and use this flag to determine whether they have been migrated. If that is the case they are written back in the new format. Keys read afterward from the store have therefore this flag unset.

    Keys that are obtained by other means, such as via a topology transaction, can however have this flag set if they were originally stored in a legacy format.

    Definition Classes
    EncryptionPrivateKeyCryptoKeyPairKey
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  20. def productElementNames: Iterator[String]
    Definition Classes
    Product
  21. def purpose: KeyPurpose
    Definition Classes
    EncryptionPrivateKeyPrivateKey
  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. 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
  24. 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
    HasVersionedWrapperHasVersionedToByteString
  25. def toProtoPrivateKey: v30.PrivateKey

    Same representation of the class hierarchy in protobuf messages, see PublicKey.

    Same representation of the class hierarchy in protobuf messages, see PublicKey.

    Definition Classes
    PrivateKey
  26. def toProtoPrivateKeyKeyV30: Key
    Attributes
    protected
    Definition Classes
    EncryptionPrivateKeyPrivateKey
  27. def toProtoV30: v30.EncryptionPrivateKey
  28. def toProtoVersioned(version: ProtocolVersion): VersionedMessage[EncryptionPrivateKey]

    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).

    Definition Classes
    HasVersionedWrapper
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  32. 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

Deprecated Value Members

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

    (Since version 9)

Inherited from NoCopy

Inherited from PrivateKey

Inherited from CryptoKeyPairKey

Inherited from CryptoKey

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped