func GetCADataSource(dbtype, datasource string, cacount int) string
GetCADataSource returns a datasource with a unqiue database name
func GetDBName(datasource string) string
GetDBName gets database name from connection string
func GetError(err error, getType string) error
GetError wraps error passed in with context
func IsGetError(err error) bool
IsGetError returns true of if the error is for is a database get error (not found)
func MaskDBCred(str string) string
MaskDBCred hides DB credentials in connection string
Levels contains the levels of identities, affiliations, and certificates
type Levels struct { Identity int Affiliation int Certificate int Credential int RAInfo int Nonce int }