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

package components

type KeyAlgorithm struct {
	// Name of public key type, such as RSA or ECDSA. Information specific to the key type is available in the named sub-record.
	Name *string `json:"name,omitempty"`
	Oid  *string `json:"oid,omitempty"`
}

func (o *KeyAlgorithm) GetName() *string {
	if o == nil {
		return nil
	}
	return o.Name
}

func (o *KeyAlgorithm) GetOid() *string {
	if o == nil {
		return nil
	}
	return o.Oid
}
