func IsNameAttribute(oid asn1.ObjectIdentifier) bool {
	if len(oid) != 4 {
		return false
	}
	if !nameAttributePrefix.Equal(oid[0:3]) {
		return false
	}
	_, ok := nameAttributeLeaves[oid[3]]
	return ok
}
func IsNameAttribute(oid asn1.ObjectIdentifier) bool {
	if len(oid) != 4 {
		return false
	}
	if !nameAttributePrefix.Equal(oid[0:3]) {
		return false
	}
	_, ok := nameAttributeLeaves[oid[3]]
	return ok
}
func IsNameAttribute ( oid asn1 . ObjectIdentifier ) bool { if len ( oid ) != 4 { return false } if ! nameAttributePrefix . Equal ( oid [ 0 : 3 ] ) { return false } _ , ok := nameAttributeLeaves [ oid [ 3 ] ] return ok }
// IsNameAttribute returns true if the given ObjectIdentifier corresponds with
// the type of any name attribute for PKIX.
IsNameAttribute returns true if the given ObjectIdentifier corresponds with the type of any name attribute for PKIX .