func (creationOptions *PublicKeyCredentialCreationOptions) AllowsAlgorithm(algorithm cose.Algorithm) bool {
	for _, param := range creationOptions.PubKeyCredParams {
		if param.COSEAlgorithmIdentifier == algorithm {
			return true
		}
	}
	return false
}
// AllowsAlgorithm returns true if the creation options allow the given algorithm.
AllowsAlgorithm returns true if the creation options allow the given algorithm.
// AllowsAlgorithm returns true if the creation options allow the given algorithm .
func (creationOptions *PublicKeyCredentialCreationOptions) AllowsAlgorithm(algorithm cose.Algorithm) bool {
	for _, param := range creationOptions.PubKeyCredParams {
		if param.COSEAlgorithmIdentifier == algorithm {
			return true
		}
	}
	return false
}
func ( creationOptions * PublicKeyCredentialCreationOptions ) AllowsAlgorithm ( algorithm cose . Algorithm ) bool { for _ , param := range creationOptions . PubKeyCredParams { if param . COSEAlgorithmIdentifier == algorithm { return true } } return false }
AllowsAlgorithm returns true if the creation options allow the given algorithm.
AllowsAlgorithm returns true if the creation options allow the given algorithm .