object CryptoKeyFormat extends Serializable
- Alphabetic
- By Inheritance
- CryptoKeyFormat
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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()
- implicit val cryptoKeyFormatOrder: Order[CryptoKeyFormat]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def extractPublicKeyFromX509Spki(publicKey: ByteString): Either[KeyParseAndValidateError, Array[Byte]]
- def fromProtoEnum(field: String, formatP: v30.CryptoKeyFormat): ParsingResult[CryptoKeyFormat]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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])
- case object DerPkcs8Pki extends CryptoKeyFormat with Product with Serializable
ASN.1 + DER-encoding of PKCS #8 PrivateKeyInfo structure: RFC 5208
ASN.1 + DER-encoding of PKCS #8 PrivateKeyInfo structure: RFC 5208
Used for all the signing and encryption private keys.
- case object DerX509Spki extends CryptoKeyFormat with Product with Serializable
ASN.1 + DER-encoding of X.509 SubjectPublicKeyInfo structure: RFC 5280
ASN.1 + DER-encoding of X.509 SubjectPublicKeyInfo structure: RFC 5280
Used for all the signing and encryption public keys.
- case object Raw extends CryptoKeyFormat with Product with Serializable
Raw key format, used for symmetric keys.
- case object Symbolic extends CryptoKeyFormat with Product with Serializable
Key format used for tests.
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)
- case object Der extends CryptoKeyFormat with Product with Serializable
For public keys: ASN.1 + DER-encoding of X.509 SubjectPublicKeyInfo structure: RFC 5280
For public keys: ASN.1 + DER-encoding of X.509 SubjectPublicKeyInfo structure: RFC 5280
For private keys: ASN.1 + DER-encoding of PKCS #8 PrivateKeyInfo structure: RFC 5208
Legacy format no longer used, except in the migration methods.
- Annotations
- @deprecated
- Deprecated
(Since version 3.3) Use the more specific
DerX509Spki
orDerPkcs8Pki
formats instead.