class Amazonite::Iam::SigningCertificate

Overview

Contains information about an X.509 signing certificate.

This data type is used as a response element in the UploadSigningCertificate and ListSigningCertificates operations.

Defined in:

iam/signing_certificate.cr

Constructors

Instance Method Summary

Constructor Detail

def self.from_xml(node : XML::Node) : self #

[View source]
def self.new(user_name : String, certificate_id : String, certificate_body : String, status : StatusType, upload_date : Time | Nil = nil) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def certificate_body : String #

The contents of the signing certificate.


[View source]
def certificate_body=(certificate_body : String) #

The contents of the signing certificate.


[View source]
def certificate_id : String #

The ID for the signing certificate.


[View source]
def certificate_id=(certificate_id : String) #

The ID for the signing certificate.


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def status : StatusType #

The status of the signing certificate. Active means that the key is valid for API calls, while Inactive means it is not.


[View source]
def status=(status : StatusType) #

The status of the signing certificate. Active means that the key is valid for API calls, while Inactive means it is not.


[View source]
def to_query_params(prefix : String) : Array(Tuple(String, String)) #

[View source]
def upload_date : Time | Nil #

The date when the signing certificate was uploaded.


[View source]
def upload_date=(upload_date : Time | Nil) #

The date when the signing certificate was uploaded.


[View source]
def user_name : String #

The name of the user the signing certificate is associated with.


[View source]
def user_name=(user_name : String) #

The name of the user the signing certificate is associated with.


[View source]
def validate! : Nil #

[View source]