func encodeCaveatV2(
	condition string,
	rootKey []byte,
	thirdPartyPubKey *PublicKey,
	key *KeyPair,
) ([]byte, error) {
	return encodeCaveatV2V3(Version2, condition, rootKey, thirdPartyPubKey, key, nil)
}
// encodeCaveatV2 creates a version 2 third-party caveat.
encodeCaveatV2 creates a version 2 third-party caveat.
// encodeCaveatV2 creates a version 2 third - party caveat .
func encodeCaveatV2(
	condition string,
	rootKey []byte,
	thirdPartyPubKey *PublicKey,
	key *KeyPair,
) ([]byte, error) {
	return encodeCaveatV2V3(Version2, condition, rootKey, thirdPartyPubKey, key, nil)
}
func encodeCaveatV2 ( condition string , rootKey [ ] byte , thirdPartyPubKey * PublicKey , key * KeyPair , ) ( [ ] byte , error ) { return encodeCaveatV2V3 ( Version2 , condition , rootKey , thirdPartyPubKey , key , nil ) }
encodeCaveatV2 creates a version 2 third-party caveat.
encodeCaveatV2 creates a version 2 third - party caveat .