Google Cloud Chronicle Client - Class PublicKey (0.9.0)

Reference documentation and code samples for the Google Cloud Chronicle Client class PublicKey.

Subject public key info.

Generated from protobuf message google.backstory.SSLCertificate.PublicKey

Namespace

Google \ Backstory \ SSLCertificate

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ algorithm string

Any of "RSA", "DSA" or "EC". Indicates the algorithm used to generate the certificate.

↳ rsa RSA

RSA public key information.

getAlgorithm

Any of "RSA", "DSA" or "EC". Indicates the algorithm used to generate the certificate.

Returns
Type Description
string

setAlgorithm

Any of "RSA", "DSA" or "EC". Indicates the algorithm used to generate the certificate.

Parameter
Name Description
var string
Returns
Type Description
$this

getRsa

RSA public key information.

Returns
Type Description
RSA|null

hasRsa

clearRsa

setRsa

RSA public key information.

Parameter
Name Description
var RSA
Returns
Type Description
$this