Certificate

com.google.cloud.kms.v1.ekm_service.Certificate
See theCertificate companion object
final case class Certificate(rawDer: ByteString, parsed: Boolean, issuer: String, subject: String, subjectAlternativeDnsNames: Seq[String], notBeforeTime: Option[Timestamp], notAfterTime: Option[Timestamp], serialNumber: String, sha256Fingerprint: String, unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[Certificate]

A [Certificate][google.cloud.kms.v1.Certificate] represents an X.509 certificate used to authenticate HTTPS connections to EKM replicas.

Value parameters

issuer

Output only. The issuer distinguished name in RFC 2253 format. Only present if [parsed][google.cloud.kms.v1.Certificate.parsed] is true.

notAfterTime

Output only. The certificate is not valid after this time. Only present if [parsed][google.cloud.kms.v1.Certificate.parsed] is true.

notBeforeTime

Output only. The certificate is not valid before this time. Only present if [parsed][google.cloud.kms.v1.Certificate.parsed] is true.

parsed

Output only. True if the certificate was parsed successfully.

rawDer

Required. The raw certificate bytes in DER format.

serialNumber

Output only. The certificate serial number as a hex string. Only present if [parsed][google.cloud.kms.v1.Certificate.parsed] is true.

sha256Fingerprint

Output only. The SHA-256 certificate fingerprint as a hex string. Only present if [parsed][google.cloud.kms.v1.Certificate.parsed] is true.

subject

Output only. The subject distinguished name in RFC 2253 format. Only present if [parsed][google.cloud.kms.v1.Certificate.parsed] is true.

subjectAlternativeDnsNames

Output only. The subject Alternative DNS names. Only present if [parsed][google.cloud.kms.v1.Certificate.parsed] is true.

Attributes

Companion
object
Source
Certificate.scala
Graph
Supertypes
trait Updatable[Certificate]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def addAllSubjectAlternativeDnsNames(`__vs`: Iterable[String]): Certificate

Attributes

Source
Certificate.scala

Attributes

Source
Certificate.scala

Attributes

Source
Certificate.scala
def getField(`__field`: FieldDescriptor): PValue

Attributes

Source
Certificate.scala
def getFieldByNumber(`__fieldNumber`: Int): Any

Attributes

Source
Certificate.scala
override def serializedSize: Int

Attributes

Definition Classes
GeneratedMessage
Source
Certificate.scala
def toProtoString: String

Returns a human-readable ASCII format representation of this message.

Returns a human-readable ASCII format representation of this message.

The original message can be decoded from this format by using fromAscii on the companion object.

Attributes

Returns

human-readable representation of this message.

Source
Certificate.scala
def withIssuer(`__v`: String): Certificate

Attributes

Source
Certificate.scala

Attributes

Source
Certificate.scala

Attributes

Source
Certificate.scala
def withParsed(`__v`: Boolean): Certificate

Attributes

Source
Certificate.scala
def withRawDer(`__v`: ByteString): Certificate

Attributes

Source
Certificate.scala
def withSerialNumber(`__v`: String): Certificate

Attributes

Source
Certificate.scala
def withSha256Fingerprint(`__v`: String): Certificate

Attributes

Source
Certificate.scala
def withSubject(`__v`: String): Certificate

Attributes

Source
Certificate.scala
def withSubjectAlternativeDnsNames(`__v`: Seq[String]): Certificate

Attributes

Source
Certificate.scala
def withUnknownFields(`__v`: UnknownFieldSet): Certificate

Attributes

Source
Certificate.scala
def writeTo(`_output__`: CodedOutputStream): Unit

Serializes the message into the given coded output stream

Serializes the message into the given coded output stream

Attributes

Source
Certificate.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
final def toByteArray: Array[Byte]

Serializes the message and returns a byte array containing its raw bytes

Serializes the message and returns a byte array containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
final def toByteString: ByteString

Serializes the message and returns a ByteString containing its raw bytes

Serializes the message and returns a ByteString containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
final def toPMessage: PMessage

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
def update(ms: Lens[Certificate, Certificate] => () => Certificate*): A

Attributes

Inherited from:
Updatable
Source
Lenses.scala
final def writeDelimitedTo(output: OutputStream): Unit

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
final def writeTo(output: OutputStream): Unit

Serializes the message into the given output stream

Serializes the message into the given output stream

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala