func (c *CertStore) Lookup(key string) *Cert {
	cKey := C.CString(key)
	defer C.free(unsafe.Pointer(cKey))

	ptr := C.zcertstore_lookup(c.zcertstoreT, cKey)
	if ptr == nil {
		return nil
	}
	return &Cert{
		zcertT: ptr,
	}
}
// Lookup looks up a certificate in the store by public key and
// returns it.
Lookup looks up a certificate in the store by public key and
returns it.
// Lookup looks up a certificate in the store by public key and // returns it .
func (c *CertStore) Lookup(key string) *Cert {
	cKey := C.CString(key)
	defer C.free(unsafe.Pointer(cKey))
	ptr := C.zcertstore_lookup(c.zcertstoreT, cKey)
	if ptr == nil {
		return nil
	}
	return &Cert{
		zcertT: ptr,
	}
}
func ( c * CertStore ) Lookup ( key string ) * Cert { cKey := C . CString ( key ) defer C . free ( unsafe . Pointer ( cKey ) ) ptr := C . zcertstore_lookup ( c . zcertstoreT , cKey ) if ptr == nil { return nil } return & Cert { zcertT : ptr , } }
Lookup looks up a certificate in the store by public key and
returns it.
Lookup looks up a certificate in the store by public key and returns it .