Packages

trait PublicKey extends CryptoKeyPairKey

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PublicKey
  2. CryptoKeyPairKey
  3. CryptoKey
  4. Serializable
  5. Product
  6. Equals
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. abstract type K <: PublicKey
    Definition Classes
    PublicKeyCryptoKeyPairKey

Abstract Value Members

  1. abstract def canEqual(that: Any): Boolean
    Definition Classes
    Equals
  2. abstract def dataForFingerprintO: Option[ByteString]

    The data used to compute the key fingerprint.

    The data used to compute the key fingerprint.

    This should normally be the same as the key contents (in which case it is None), but can be different when we need to support backward compatibility. For example, Ed25519 keys were originally stored raw; when changing the format to X.509, the key content became the DER-encoded SubjectPublicKeyInfo. To keep the same fingerprint, this field retains the raw key.

    Attributes
    protected
  3. abstract def format: CryptoKeyFormat
    Definition Classes
    CryptoKey
  4. abstract def key: ByteString
    Attributes
    protected[crypto]
    Definition Classes
    CryptoKey
  5. abstract def 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
    CryptoKeyPairKey
  6. abstract def productArity: Int
    Definition Classes
    Product
  7. abstract def productElement(n: Int): Any
    Definition Classes
    Product
  8. abstract def purpose: KeyPurpose
  9. abstract def toByteString(version: ProtocolVersion): ByteString
  10. abstract def toProtoPublicKeyKeyV30: Key
    Attributes
    protected

Concrete 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 asSigningKey: Option[SigningPublicKey]
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. def fingerprint: Fingerprint
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  12. lazy val id: Fingerprint
    Definition Classes
    PublicKeyCryptoKeyPairKey
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. def isPublicKey: Boolean
    Definition Classes
    PublicKeyCryptoKeyPairKey
  15. def isSigning: Boolean
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  19. def productElementName(n: Int): String
    Definition Classes
    Product
  20. def productElementNames: Iterator[String]
    Definition Classes
    Product
  21. def productIterator: Iterator[Any]
    Definition Classes
    Product
  22. def productPrefix: String
    Definition Classes
    Product
  23. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  24. def toProtoPublicKeyV30: v30.PublicKey

    With the v30.PublicKey message we model the class hierarchy of public keys in protobuf.

    With the v30.PublicKey message we model the class hierarchy of public keys in protobuf. Each child class that implements this trait can be serialized with toProto to their corresponding protobuf message. With the following method, it can be serialized to this trait's protobuf message.

  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

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 CryptoKeyPairKey

Inherited from CryptoKey

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped