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

package components

type BasicConstraints struct {
	// Whether the certificate is permitted to sign other certificates.
	IsCa *bool `json:"is_ca,omitempty"`
	// When present, provides the maximum number of intermediate certificates that may follow this certificate in a trusted certification path.
	MaxPathLen *int `json:"max_path_len,omitempty"`
}

func (o *BasicConstraints) GetIsCa() *bool {
	if o == nil {
		return nil
	}
	return o.IsCa
}

func (o *BasicConstraints) GetMaxPathLen() *int {
	if o == nil {
		return nil
	}
	return o.MaxPathLen
}
