// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.

package components

type Signature struct {
	// Whether the certificate was signed by its own key.
	SelfSigned         *bool         `json:"self_signed,omitempty"`
	SignatureAlgorithm *KeyAlgorithm `json:"signature_algorithm,omitempty"`
	// Whether the signature is valid.
	Valid *bool `json:"valid,omitempty"`
	// Contents of the signature.
	Value *string `json:"value,omitempty"`
}

func (o *Signature) GetSelfSigned() *bool {
	if o == nil {
		return nil
	}
	return o.SelfSigned
}

func (o *Signature) GetSignatureAlgorithm() *KeyAlgorithm {
	if o == nil {
		return nil
	}
	return o.SignatureAlgorithm
}

func (o *Signature) GetValid() *bool {
	if o == nil {
		return nil
	}
	return o.Valid
}

func (o *Signature) GetValue() *string {
	if o == nil {
		return nil
	}
	return o.Value
}
