Reference documentation and code samples for the Chronicle V1 API class Google::Backstory::SSLCertificate.
SSL certificate.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#cert_extensions
def cert_extensions() -> ::Google::Protobuf::Struct
Returns
- (::Google::Protobuf::Struct) — Certificate's extensions.
#cert_extensions=
def cert_extensions=(value) -> ::Google::Protobuf::Struct
Parameter
- value (::Google::Protobuf::Struct) — Certificate's extensions.
Returns
- (::Google::Protobuf::Struct) — Certificate's extensions.
#cert_signature
def cert_signature() -> ::Google::Backstory::SSLCertificate::CertSignature
Returns
- (::Google::Backstory::SSLCertificate::CertSignature) — Certificate's signature and algorithm.
#cert_signature=
def cert_signature=(value) -> ::Google::Backstory::SSLCertificate::CertSignature
Parameter
- value (::Google::Backstory::SSLCertificate::CertSignature) — Certificate's signature and algorithm.
Returns
- (::Google::Backstory::SSLCertificate::CertSignature) — Certificate's signature and algorithm.
#ec
def ec() -> ::Google::Backstory::SSLCertificate::EC
Returns
- (::Google::Backstory::SSLCertificate::EC) — EC public key information.
#ec=
def ec=(value) -> ::Google::Backstory::SSLCertificate::EC
Parameter
- value (::Google::Backstory::SSLCertificate::EC) — EC public key information.
Returns
- (::Google::Backstory::SSLCertificate::EC) — EC public key information.
#extension
def extension() -> ::Google::Backstory::SSLCertificate::Extension
Returns
- (::Google::Backstory::SSLCertificate::Extension) — (DEPRECATED) certificate's extension.
#extension=
def extension=(value) -> ::Google::Backstory::SSLCertificate::Extension
Parameter
- value (::Google::Backstory::SSLCertificate::Extension) — (DEPRECATED) certificate's extension.
Returns
- (::Google::Backstory::SSLCertificate::Extension) — (DEPRECATED) certificate's extension.
#first_seen_time
def first_seen_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Date the certificate was first retrieved by VirusTotal.
#first_seen_time=
def first_seen_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — Date the certificate was first retrieved by VirusTotal.
Returns
- (::Google::Protobuf::Timestamp) — Date the certificate was first retrieved by VirusTotal.
#issuer
def issuer() -> ::Google::Backstory::SSLCertificate::Subject
Returns
- (::Google::Backstory::SSLCertificate::Subject) — Certificate's issuer data.
#issuer=
def issuer=(value) -> ::Google::Backstory::SSLCertificate::Subject
Parameter
- value (::Google::Backstory::SSLCertificate::Subject) — Certificate's issuer data.
Returns
- (::Google::Backstory::SSLCertificate::Subject) — Certificate's issuer data.
#public_key
def public_key() -> ::Google::Backstory::SSLCertificate::PublicKey
Returns
- (::Google::Backstory::SSLCertificate::PublicKey) — Public key information.
#public_key=
def public_key=(value) -> ::Google::Backstory::SSLCertificate::PublicKey
Parameter
- value (::Google::Backstory::SSLCertificate::PublicKey) — Public key information.
Returns
- (::Google::Backstory::SSLCertificate::PublicKey) — Public key information.
#serial_number
def serial_number() -> ::String
Returns
- (::String) — Certificate's serial number hexdump.
#serial_number=
def serial_number=(value) -> ::String
Parameter
- value (::String) — Certificate's serial number hexdump.
Returns
- (::String) — Certificate's serial number hexdump.
#signature_algorithm
def signature_algorithm() -> ::String
Returns
- (::String) — Algorithm used for the signature (for example, "sha1RSA").
#signature_algorithm=
def signature_algorithm=(value) -> ::String
Parameter
- value (::String) — Algorithm used for the signature (for example, "sha1RSA").
Returns
- (::String) — Algorithm used for the signature (for example, "sha1RSA").
#size
def size() -> ::Integer
Returns
- (::Integer) — Certificate content length.
#size=
def size=(value) -> ::Integer
Parameter
- value (::Integer) — Certificate content length.
Returns
- (::Integer) — Certificate content length.
#subject
def subject() -> ::Google::Backstory::SSLCertificate::Subject
Returns
- (::Google::Backstory::SSLCertificate::Subject) — Certificate's subject data.
#subject=
def subject=(value) -> ::Google::Backstory::SSLCertificate::Subject
Parameter
- value (::Google::Backstory::SSLCertificate::Subject) — Certificate's subject data.
Returns
- (::Google::Backstory::SSLCertificate::Subject) — Certificate's subject data.
#thumbprint
def thumbprint() -> ::String
Returns
- (::String) — Certificate's content SHA1 hash.
#thumbprint=
def thumbprint=(value) -> ::String
Parameter
- value (::String) — Certificate's content SHA1 hash.
Returns
- (::String) — Certificate's content SHA1 hash.
#thumbprint_sha256
def thumbprint_sha256() -> ::String
Returns
- (::String) — Certificate's content SHA256 hash.
#thumbprint_sha256=
def thumbprint_sha256=(value) -> ::String
Parameter
- value (::String) — Certificate's content SHA256 hash.
Returns
- (::String) — Certificate's content SHA256 hash.
#validity
def validity() -> ::Google::Backstory::SSLCertificate::Validity
Returns
- (::Google::Backstory::SSLCertificate::Validity) — Certificate's validity period.
#validity=
def validity=(value) -> ::Google::Backstory::SSLCertificate::Validity
Parameter
- value (::Google::Backstory::SSLCertificate::Validity) — Certificate's validity period.
Returns
- (::Google::Backstory::SSLCertificate::Validity) — Certificate's validity period.
#version
def version() -> ::String
Returns
- (::String) — Certificate version (typically "V1", "V2" or "V3").
#version=
def version=(value) -> ::String
Parameter
- value (::String) — Certificate version (typically "V1", "V2" or "V3").
Returns
- (::String) — Certificate version (typically "V1", "V2" or "V3").