// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.

// Code generated by "deep-copy -type ImageVerificationRuleSpec -type TUFTrustedRootSpec -header-file ../../../../hack/boilerplate.txt -o deep_copy.generated.go ."; DO NOT EDIT.

package security

// DeepCopy generates a deep copy of ImageVerificationRuleSpec.
func (o ImageVerificationRuleSpec) DeepCopy() ImageVerificationRuleSpec {
	var cp ImageVerificationRuleSpec = o
	if o.KeylessVerifier != nil {
		cp.KeylessVerifier = new(ImageKeylessVerifierSpec)
		*cp.KeylessVerifier = *o.KeylessVerifier
	}
	if o.PublicKeyVerifier != nil {
		cp.PublicKeyVerifier = new(ImagePublicKeyVerifierSpec)
		*cp.PublicKeyVerifier = *o.PublicKeyVerifier
	}
	return cp
}

// DeepCopy generates a deep copy of TUFTrustedRootSpec.
func (o TUFTrustedRootSpec) DeepCopy() TUFTrustedRootSpec {
	var cp TUFTrustedRootSpec = o
	return cp
}
