CryptoKeyPurpose

com.google.cloud.kms.v1.resources.CryptoKey.CryptoKeyPurpose
See theCryptoKeyPurpose companion object
sealed abstract class CryptoKeyPurpose(val value: Int) extends GeneratedEnum

[CryptoKeyPurpose][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose] describes the cryptographic capabilities of a [CryptoKey][google.cloud.kms.v1.CryptoKey]. A given key can only be used for the operations allowed by its purpose. For more information, see Key purposes.

Attributes

Companion
object
Source
CryptoKey.scala
Graph
Supertypes
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
object ASYMMETRIC_DECRYPT.type
object ASYMMETRIC_SIGN.type
object ENCRYPT_DECRYPT.type
object MAC.type
object RAW_ENCRYPT_DECRYPT.type
trait Recognized
class Unrecognized
Show all

Members list

Type members

Types

Attributes

Source
CryptoKey.scala

Value members

Concrete methods

final def asRecognized: Option[Recognized]

Attributes

Source
CryptoKey.scala
def companion: GeneratedEnumCompanion[CryptoKeyPurpose]

Attributes

Source
CryptoKey.scala
def isAsymmetricDecrypt: Boolean

Attributes

Source
CryptoKey.scala
def isAsymmetricSign: Boolean

Attributes

Source
CryptoKey.scala

Attributes

Source
CryptoKey.scala
def isEncryptDecrypt: Boolean

Attributes

Source
CryptoKey.scala
def isMac: Boolean

Attributes

Source
CryptoKey.scala
def isRawEncryptDecrypt: Boolean

Attributes

Source
CryptoKey.scala

Inherited methods

def canEqual(that: Any): Boolean

Attributes

Inherited from:
Equals
def index: Int

Attributes

Inherited from:
GeneratedEnum
Source
GeneratedMessageCompanion.scala
def isUnrecognized: Boolean

Attributes

Inherited from:
GeneratedEnum
Source
GeneratedMessageCompanion.scala
def javaValueDescriptor: EnumValueDescriptor

Attributes

Inherited from:
GeneratedEnum
Source
GeneratedMessageCompanion.scala
def name: String

Attributes

Inherited from:
GeneratedEnum
Source
GeneratedMessageCompanion.scala
def productArity: Int

Attributes

Inherited from:
Product
def productElement(n: Int): Any

Attributes

Inherited from:
Product
def productElementName(n: Int): String

Attributes

Inherited from:
Product
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def productPrefix: String

Attributes

Inherited from:
Product
def scalaValueDescriptor: EnumValueDescriptor

Attributes

Inherited from:
GeneratedEnum
Source
GeneratedMessageCompanion.scala
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
GeneratedEnum -> Any
Inherited from:
GeneratedEnum
Source
GeneratedMessageCompanion.scala

Concrete fields

val value: Int

Attributes

Source
CryptoKey.scala