CryptoKeyVersion

com.google.cloud.kms.v1.resources.CryptoKeyVersion
See theCryptoKeyVersion companion class
object CryptoKeyVersion extends GeneratedMessageCompanion[CryptoKeyVersion]

Attributes

Companion
class
Source
CryptoKeyVersion.scala
Graph
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[CryptoKeyVersion]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type

Members list

Type members

Classlikes

sealed abstract class CryptoKeyVersionAlgorithm(val value: Int) extends GeneratedEnum

The algorithm of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion], indicating what parameters must be used for each cryptographic operation.

The algorithm of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion], indicating what parameters must be used for each cryptographic operation.

The [GOOGLE_SYMMETRIC_ENCRYPTION][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm.GOOGLE_SYMMETRIC_ENCRYPTION] algorithm is usable with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT].

Algorithms beginning with RSA_SIGN_ are usable with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] [ASYMMETRIC_SIGN][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN].

The fields in the name after RSA_SIGN_ correspond to the following parameters: padding algorithm, modulus bit length, and digest algorithm.

For PSS, the salt length used is equal to the length of digest algorithm. For example, [RSA_SIGN_PSS_2048_SHA256][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm.RSA_SIGN_PSS_2048_SHA256] will use PSS with a salt length of 256 bits or 32 bytes.

Algorithms beginning with RSA_DECRYPT_ are usable with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] [ASYMMETRIC_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_DECRYPT].

The fields in the name after RSA_DECRYPT_ correspond to the following parameters: padding algorithm, modulus bit length, and digest algorithm.

Algorithms beginning with EC_SIGN_ are usable with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] [ASYMMETRIC_SIGN][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN].

The fields in the name after EC_SIGN_ correspond to the following parameters: elliptic curve, digest algorithm.

Algorithms beginning with HMAC_ are usable with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] [MAC][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.MAC].

The suffix following HMAC_ corresponds to the hash algorithm being used (eg. SHA256).

For more information, see [Key purposes and algorithms] (https://cloud.google.com/kms/docs/algorithms).

Attributes

Companion
object
Source
CryptoKeyVersion.scala
Supertypes
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
object CryptoKeyVersionAlgorithm extends GeneratedEnumCompanion[CryptoKeyVersionAlgorithm]

Attributes

Companion
class
Source
CryptoKeyVersion.scala
Supertypes
trait Sum
trait Mirror
trait GeneratedEnumCompanion[CryptoKeyVersionAlgorithm]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
implicit class CryptoKeyVersionLens[UpperPB](_l: Lens[UpperPB, CryptoKeyVersion]) extends ObjectLens[UpperPB, CryptoKeyVersion]

Attributes

Source
CryptoKeyVersion.scala
Supertypes
class ObjectLens[UpperPB, CryptoKeyVersion]
trait Lens[UpperPB, CryptoKeyVersion]
trait Serializable
class Object
trait Matchable
class Any
Show all
sealed abstract class CryptoKeyVersionState(val value: Int) extends GeneratedEnum

The state of a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion], indicating if it can be used.

The state of a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion], indicating if it can be used.

Attributes

Companion
object
Source
CryptoKeyVersion.scala
Supertypes
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
object DESTROYED.type
object DESTROY_SCHEDULED.type
object DISABLED.type
object ENABLED.type
object GENERATION_FAILED.type
object IMPORT_FAILED.type
object PENDING_GENERATION.type
object PENDING_IMPORT.type
trait Recognized
class Unrecognized
Show all
object CryptoKeyVersionState extends GeneratedEnumCompanion[CryptoKeyVersionState]

Attributes

Companion
class
Source
CryptoKeyVersion.scala
Supertypes
trait Sum
trait Mirror
trait GeneratedEnumCompanion[CryptoKeyVersionState]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
sealed abstract class CryptoKeyVersionView(val value: Int) extends GeneratedEnum

A view for [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]s.

A view for [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]s. Controls the level of detail returned for [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] in [KeyManagementService.ListCryptoKeyVersions][google.cloud.kms.v1.KeyManagementService.ListCryptoKeyVersions] and [KeyManagementService.ListCryptoKeys][google.cloud.kms.v1.KeyManagementService.ListCryptoKeys].

Attributes

Companion
object
Source
CryptoKeyVersion.scala
Supertypes
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
object FULL.type
trait Recognized
class Unrecognized
object CryptoKeyVersionView extends GeneratedEnumCompanion[CryptoKeyVersionView]

Attributes

Companion
class
Source
CryptoKeyVersion.scala
Supertypes
trait Sum
trait Mirror
trait GeneratedEnumCompanion[CryptoKeyVersionView]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type ValueType = A

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala

Value members

Concrete methods

def enumCompanionForFieldNumber(`__fieldNumber`: Int): GeneratedEnumCompanion[_]

Attributes

Source
CryptoKeyVersion.scala
def javaDescriptor: Descriptor

Returns the Java descriptors for this message.

Returns the Java descriptors for this message. It is recommended to use scalaDescriptors. The Java descriptors are available even when Java conversions is disabled, however they are not available in Scala.js or scala-native.

Attributes

Source
CryptoKeyVersion.scala
def messageCompanionForFieldNumber(`__number`: Int): GeneratedMessageCompanion[_]

Attributes

Source
CryptoKeyVersion.scala
def of(name: String, state: CryptoKeyVersionState, protectionLevel: ProtectionLevel, algorithm: CryptoKeyVersionAlgorithm, attestation: Option[KeyOperationAttestation], createTime: Option[Timestamp], generateTime: Option[Timestamp], destroyTime: Option[Timestamp], destroyEventTime: Option[Timestamp], importJob: String, importTime: Option[Timestamp], importFailureReason: String, generationFailureReason: String, externalDestructionFailureReason: String, externalProtectionLevelOptions: Option[ExternalProtectionLevelOptions], reimportEligible: Boolean): CryptoKeyVersion

Attributes

Source
CryptoKeyVersion.scala
def parseFrom(`_input__`: CodedInputStream): CryptoKeyVersion

Parses a message from a CodedInputStream.

Parses a message from a CodedInputStream.

Attributes

Source
CryptoKeyVersion.scala
def scalaDescriptor: Descriptor

Attributes

Source
CryptoKeyVersion.scala

Inherited methods

def enumCompanionForField(field: FieldDescriptor): GeneratedEnumCompanion[_]

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def fromAscii(s: String): A

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def merge(a: CryptoKeyVersion, input: CodedInputStream): A

Merges the given message with the additional fields in the steam.

Merges the given message with the additional fields in the steam.

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def messageCompanionForField(field: FieldDescriptor): GeneratedMessageCompanion[_]

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def parseDelimitedFrom(input: InputStream): Option[A]

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def parseDelimitedFrom(input: CodedInputStream): Option[A]

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def parseFrom(s: Array[Byte]): A

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def parseFrom(input: InputStream): A

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def streamFromDelimitedInput(input: InputStream): Stream[A]

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def toByteArray(a: CryptoKeyVersion): Array[Byte]

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def validate(s: Array[Byte]): Try[A]

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def validateAscii(s: String): Either[TextFormatError, A]

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala

Concrete fields

final val ALGORITHM_FIELD_NUMBER: 10

Attributes

Source
CryptoKeyVersion.scala

Attributes

Source
CryptoKeyVersion.scala

Attributes

Source
CryptoKeyVersion.scala

Attributes

Source
CryptoKeyVersion.scala

Attributes

Source
CryptoKeyVersion.scala
final val IMPORT_JOB_FIELD_NUMBER: 14

Attributes

Source
CryptoKeyVersion.scala
final val IMPORT_TIME_FIELD_NUMBER: 15

Attributes

Source
CryptoKeyVersion.scala
final val NAME_FIELD_NUMBER: 1

Attributes

Source
CryptoKeyVersion.scala

Attributes

Source
CryptoKeyVersion.scala

Attributes

Source
CryptoKeyVersion.scala
final val STATE_FIELD_NUMBER: 3

Attributes

Source
CryptoKeyVersion.scala
lazy val nestedMessagesCompanions: Seq[GeneratedMessageCompanion[_ <: GeneratedMessage]]

Attributes

Source
CryptoKeyVersion.scala

Implicits

Implicits

final implicit def CryptoKeyVersionLens[UpperPB](_l: Lens[UpperPB, CryptoKeyVersion]): CryptoKeyVersionLens[UpperPB]

Attributes

Source
CryptoKeyVersion.scala
implicit def messageCompanion: GeneratedMessageCompanion[CryptoKeyVersion]

Attributes

Source
CryptoKeyVersion.scala
implicit def messageReads: Reads[CryptoKeyVersion]

Attributes

Source
CryptoKeyVersion.scala