Documentation ¶
Overview ¶
Package windows contains a windows-specific client for accessing the ncrypt APIs directly, bypassing the RPC-mechanism of the universal client.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SecureKey ¶
type SecureKey struct {
// contains filtered or unexported fields
}
SecureKey is a public wrapper for the internal ncrypt implementation.
func NewSecureKey ¶
NewSecureKey returns a handle to the first available certificate and private key pair in the specified Windows key store matching the filters.
func (*SecureKey) CertificateChain ¶
CertificateChain returns the SecureKey's raw X509 cert chain. This contains the public key.
func (*SecureKey) Close ¶
func (sk *SecureKey) Close()
Close frees up resources associated with the underlying key.
Click to show internal directories.
Click to hide internal directories.