func (m *MockKeystore) CreateAndExportKey(kt kms.KeyType) (string, []byte, error) {
	if m.CreateAndExportKeyErr != nil {
		return "", nil, m.CreateAndExportKeyErr
	}

	return m.CreateAndExportKeyID, m.CreateAndExportPubKeyValue, nil
}
// CreateAndExportKey creates a new key and exports its public part.
CreateAndExportKey creates a new key and exports its public part.
// CreateAndExportKey creates a new key and exports its public part .
func (m *MockKeystore) CreateAndExportKey(kt kms.KeyType) (string, []byte, error) {
	if m.CreateAndExportKeyErr != nil {
		return "", nil, m.CreateAndExportKeyErr
	}
	return m.CreateAndExportKeyID, m.CreateAndExportPubKeyValue, nil
}
func ( m * MockKeystore ) CreateAndExportKey ( kt kms . KeyType ) ( string , [ ] byte , error ) { if m . CreateAndExportKeyErr != nil { return " " , nil , m . CreateAndExportKeyErr } return m . CreateAndExportKeyID , m . CreateAndExportPubKeyValue , nil }
CreateAndExportKey creates a new key and exports its public part.
CreateAndExportKey creates a new key and exports its public part .