Versions in this module Expand all Collapse all v0 v0.0.4 Apr 17, 2020 Changes in this version + const CLUSREG_CONDITION_IS_EQUAL + const CLUSREG_CONDITION_NOT_EXISTS + const CLUSREG_CREATE_KEY + const CLUSREG_DELETE_KEY + const CLUSREG_DELETE_VALUE + const CLUSREG_SET_VALUE + const CLUS_CREATE_CRYPT_CONTAINER_NOT_FOUND + const CLUS_CREATE_CRYPT_NONE + const ERROR_NO_MORE_ITEMS + const MS_ENH_RSA_AES_PROV + const PROV_DH_SCHANNEL + const PROV_DSS + const PROV_DSS_DH + const PROV_EC_ECDSA_FULL + const PROV_EC_ECDSA_SIG + const PROV_EC_ECNRA_FULL + const PROV_EC_ECNRA_SIG + const PROV_FORTEZZA + const PROV_INTEL_SEC + const PROV_MS_EXCHANGE + const PROV_REPLACE_OWF + const PROV_RNG + const PROV_RSA_AES + const PROV_RSA_FULL + const PROV_RSA_SCHANNEL + const PROV_RSA_SIG + const PROV_SPYRUS_LYNKS + const PROV_SSL + const REG_CREATED_NEW_KEY + type ClusterHandle uintptr + func OpenCluster() (handle ClusterHandle, err error) + func OpenRemoteCluster(clusterName string) (handle ClusterHandle, err error) + func (cluster ClusterHandle) OpenResource(resourceName string) (handle ResourceHandle, err error) + func (handle ClusterHandle) Close() + type ClusterRegCommand uint32 + type CryptographicServiceProviderType uint32 + type HCLUSCRYPTPROVIDER uintptr + func OpenClusterCryptProvider(Resource string, Provider string, dwType CryptographicServiceProviderType, ...) (handle HCLUSCRYPTPROVIDER, err error) + func (handle HCLUSCRYPTPROVIDER) CloseClusterCryptProvider() + func (handle HCLUSCRYPTPROVIDER) ClusterDecrypt(data []byte) ([]byte, error) + func (handle HCLUSCRYPTPROVIDER) ClusterEncrypt(data []byte) ([]byte, error) + type KeyHandle uintptr + func (handle KeyHandle) Close() + func (handle KeyHandle) CreateBatch() (RegBatchHandle, error) + func (handle KeyHandle) CreateKey(keyName string, samDesired int) (key KeyHandle, created bool, err error) + func (handle KeyHandle) DeleteValue(valueName string) error + func (handle KeyHandle) LoadValues() (map[string][]byte, error) + func (handle KeyHandle) QueryByteValue(valueName string) (data []byte, err error) + func (handle KeyHandle) QueryGuidValue(valueName string) (data guid.GUID, err error) + func (handle KeyHandle) QueryValue(valueName string) (dwType uint32, data []byte, err error) + func (handle KeyHandle) SetByteValue(value string, data []byte) error + func (handle KeyHandle) SetGuidValue(value string, guid guid.GUID) error + func (handle KeyHandle) SetValue(value string, dwType uint32, data []byte) error + type OpenClusterCryptProviderFlags uint32 + type RegBatchHandle uintptr + func (handle RegBatchHandle) BatchAddCommand(command ClusterRegCommand, value string, dwType uint32, data []byte) error + func (handle RegBatchHandle) ExecuteBatch() (uintptr, error) + type ResourceHandle uintptr + func (handle ResourceHandle) Close() + func (handle ResourceHandle) GetKey(samDesired int) (KeyHandle, error)