final case class SigningPrivateKey extends PrivateKey with HasVersionedWrapper[SigningPrivateKey] with Product with Serializable
- Alphabetic
- By Inheritance
- SigningPrivateKey
- HasVersionedWrapper
- HasVersionedToByteString
- PrivateKey
- CryptoKeyPairKey
- CryptoKey
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- type K = SigningPrivateKey
- Definition Classes
- SigningPrivateKey → PrivateKey → CryptoKeyPairKey
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]) @IntrinsicCandidate() @native()
- def companionObj: SigningPrivateKey.type
- Attributes
- protected
- Definition Classes
- SigningPrivateKey → HasVersionedWrapper
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val format: CryptoKeyFormat
- Definition Classes
- SigningPrivateKey → CryptoKey
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- val id: Fingerprint
- Definition Classes
- SigningPrivateKey → CryptoKeyPairKey
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isPublicKey: Boolean
- Definition Classes
- PrivateKey → CryptoKeyPairKey
- val key: ByteString
- Attributes
- protected[crypto]
- Definition Classes
- SigningPrivateKey → CryptoKey
- val keySpec: SigningKeySpec
- 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
- SigningPrivateKey → CryptoKeyPairKey
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def purpose: KeyPurpose
- Definition Classes
- SigningPrivateKey → PrivateKey
- def replaceUsage(usage: NonEmpty[Set[SigningKeyUsage]]): SigningPrivateKey
- Annotations
- @VisibleForTesting()
- 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 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
- def toProtoPrivateKeyKeyV30: Key
- Attributes
- protected
- Definition Classes
- SigningPrivateKey → PrivateKey
- def toProtoV30: v30.SigningPrivateKey
- def toProtoVersioned(version: ProtocolVersion): VersionedMessage[SigningPrivateKey]
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
- val usage: NonEmpty[Set[SigningKeyUsage]]
- 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