Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClearAllSession

func ClearAllSession()

func ClearSession

func ClearSession(key string)

func GetKeyPairFromSessionSKI

func GetKeyPairFromSessionSKI(keyPairCacheKey *KeyPairCacheKey) (*pkcs11.ObjectHandle, error)

Types

type KeyPairCacheKey

type KeyPairCacheKey struct {
	Mod     *pkcs11.Ctx
	Session pkcs11.SessionHandle
	SKI     []byte
	KeyType bool
}

    keyPairCacheKey

    func (*KeyPairCacheKey) String

    func (keyPairCacheKey *KeyPairCacheKey) String() string

      String return string value for keyPairCacheKey

      type SessionCacheKey

      type SessionCacheKey struct {
      	SessionID string
      }

        SessionCacheKey

        func (*SessionCacheKey) String

        func (SessionCacheKey *SessionCacheKey) String() string

          String return string value for SessionCacheKey

          Source Files