func (t TrustAnchorType) String() string {
	switch t {
	case TaTypeUnspecified:
		return "unspecified"
	case TaTypeKey:
		return "public key"
	case TaTypeCert:
		return "certificate"
	default:
		return fmt.Sprintf("TrustAnchorType(%d)", t)
	}
}
String provieds a textual representation of the TrustAnchorType.
package common
import "fmt"
const (
	TaTypeUnspecified = TrustAnchorType(iota)
	TaTypeKey
	TaTypeCert
)
type TrustAnchorType int8