Versions in this module Expand all Collapse all v0 v0.0.1 Dec 13, 2019 Changes in this version + const CLUS_CREATE_CRYPT_CONTAINER_NOT_FOUND + const CLUS_CREATE_CRYPT_NONE + 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 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) CreateKey(keyName string, samDesired int) (key KeyHandle, created bool, err error) + func (handle KeyHandle) QueryByteValue(valueName string) (data []byte, err error) + func (handle KeyHandle) QueryGuidValue(valueName string) (data memory.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 memory.GUID) error + func (handle KeyHandle) SetValue(value string, dwType uint32, data []byte) error + type OpenClusterCryptProviderFlags uint32 + type ResourceHandle uintptr + func (handle ResourceHandle) Close() + func (handle ResourceHandle) GetKey(samDesired int) (KeyHandle, error)