Public Member Functions | List of all members
BKeyStore Class Reference

Undocumented. More...

Public Member Functions

 BKeyStore ()
 undocumented More...
 
virtual ~BKeyStore ()
 undocumented More...
 
Key Management
status_t GetKey (BKeyType type, const char *identifier, BKey &key)
 Undocumented. More...
 
status_t GetKey (BKeyType type, const char *identifier, const char *secondaryIdentifier, BKey &key)
 Undocumented. More...
 
status_t GetKey (BKeyType type, const char *identifier, const char *secondaryIdentifier, bool secondaryIdentifierOptional, BKey &key)
 Undocumented. More...
 
status_t GetKey (const char *keyring, BKeyType type, const char *identifier, BKey &key)
 Undocumented. More...
 
status_t GetKey (const char *keyring, BKeyType type, const char *identifier, const char *secondaryIdentifier, BKey &key)
 Undocumented. More...
 
status_t GetKey (const char *keyring, BKeyType type, const char *identifier, const char *secondaryIdentifier, bool secondaryIdentifierOptional, BKey &key)
 Undocumented. More...
 
status_t AddKey (const BKey &key)
 Undocumented. More...
 
status_t AddKey (const char *keyring, const BKey &key)
 Undocumented. More...
 
status_t RemoveKey (const BKey &key)
 Undocumented. More...
 
status_t RemoveKey (const char *keyring, const BKey &key)
 Undocumented. More...
 
status_t GetNextKey (uint32 &cookie, BKey &key)
 Undocumented. More...
 
status_t GetNextKey (BKeyType type, BKeyPurpose purpose, uint32 &cookie, BKey &key)
 Undocumented. More...
 
status_t GetNextKey (const char *keyring, uint32 &cookie, BKey &key)
 Undocumented. More...
 
status_t GetNextKey (const char *keyring, BKeyType type, BKeyPurpose purpose, uint32 &cookie, BKey &key)
 Undocumented. More...
 
Keyrings
status_t AddKeyring (const char *keyring)
 Undocumented. More...
 
status_t RemoveKeyring (const char *keyring)
 Undocumented. More...
 
status_t GetNextKeyring (uint32 &cookie, BString &keyring)
 Undocumented. More...
 
status_t SetUnlockKey (const char *keyring, const BKey &key)
 Undocumented. More...
 
status_t RemoveUnlockKey (const char *keyring)
 Undocumented. More...
 
Master keyring
status_t SetMasterUnlockKey (const BKey &key)
 Undocumented. More...
 
status_t RemoveMasterUnlockKey ()
 Undocumented. More...
 
status_t AddKeyringToMaster (const char *keyring)
 Undocumented. More...
 
status_t RemoveKeyringFromMaster (const char *keyring)
 Undocumented. More...
 
status_t GetNextMasterKeyring (uint32 &cookie, BString &keyring)
 Undocumented. More...
 
Locking
bool IsKeyringUnlocked (const char *keyring)
 Undocumented. More...
 
status_t LockKeyring (const char *keyring)
 Undocumented. More...
 
status_t LockMasterKeyring ()
 Undocumented. More...
 
Applications
status_t GetNextApplication (uint32 &cookie, BString &signature) const
 Undocumented. More...
 
status_t GetNextApplication (const char *keyring, uint32 &cookie, BString &signature) const
 Undocumented. More...
 
status_t RemoveApplication (const char *signature)
 Undocumented. More...
 
status_t RemoveApplication (const char *keyring, const char *signature)
 Undocumented. More...
 
Service Functions
status_t GeneratePassword (BPasswordKey &password, size_t length, uint32 flags)
 Undocumented. More...
 
float PasswordStrength (const char *password)
 Undocumented. More...
 

Detailed Description

Undocumented.

Since
Haiku R1

Constructor & Destructor Documentation

◆ BKeyStore()

BKeyStore::BKeyStore ( )

undocumented

Since
Haiku R1

◆ ~BKeyStore()

BKeyStore::~BKeyStore ( )
virtual

undocumented

Since
Haiku R1

Member Function Documentation

◆ AddKey() [1/2]

status_t BKeyStore::AddKey ( const BKey key)

Undocumented.

Since
Haiku R1

◆ AddKey() [2/2]

status_t BKeyStore::AddKey ( const char *  keyring,
const BKey key 
)

Undocumented.

Since
Haiku R1

◆ AddKeyring()

status_t BKeyStore::AddKeyring ( const char *  keyring)

Undocumented.

Since
Haiku R1

◆ AddKeyringToMaster()

status_t BKeyStore::AddKeyringToMaster ( const char *  keyring)

Undocumented.

Since
Haiku R1

◆ GeneratePassword()

status_t BKeyStore::GeneratePassword ( BPasswordKey password,
size_t  length,
uint32  flags 
)

Undocumented.

Since
Haiku R1

◆ GetKey() [1/6]

status_t BKeyStore::GetKey ( BKeyType  type,
const char *  identifier,
BKey key 
)

Undocumented.

Since
Haiku R1

◆ GetKey() [2/6]

status_t BKeyStore::GetKey ( BKeyType  type,
const char *  identifier,
const char *  secondaryIdentifier,
BKey key 
)

Undocumented.

Since
Haiku R1

◆ GetKey() [3/6]

status_t BKeyStore::GetKey ( BKeyType  type,
const char *  identifier,
const char *  secondaryIdentifier,
bool  secondaryIdentifierOptional,
BKey key 
)

Undocumented.

Since
Haiku R1

◆ GetKey() [4/6]

status_t BKeyStore::GetKey ( const char *  keyring,
BKeyType  type,
const char *  identifier,
BKey key 
)

Undocumented.

Since
Haiku R1

◆ GetKey() [5/6]

status_t BKeyStore::GetKey ( const char *  keyring,
BKeyType  type,
const char *  identifier,
const char *  secondaryIdentifier,
BKey key 
)

Undocumented.

Since
Haiku R1

◆ GetKey() [6/6]

status_t BKeyStore::GetKey ( const char *  keyring,
BKeyType  type,
const char *  identifier,
const char *  secondaryIdentifier,
bool  secondaryIdentifierOptional,
BKey key 
)

Undocumented.

Since
Haiku R1

◆ GetNextApplication() [1/2]

status_t BKeyStore::GetNextApplication ( uint32 &  cookie,
BString signature 
) const

Undocumented.

Since
Haiku R1

◆ GetNextApplication() [2/2]

status_t BKeyStore::GetNextApplication ( const char *  keyring,
uint32 &  cookie,
BString signature 
) const

Undocumented.

Since
Haiku R1

◆ GetNextKey() [1/4]

status_t BKeyStore::GetNextKey ( uint32 &  cookie,
BKey key 
)

Undocumented.

Since
Haiku R1

◆ GetNextKey() [2/4]

status_t BKeyStore::GetNextKey ( BKeyType  type,
BKeyPurpose  purpose,
uint32 &  cookie,
BKey key 
)

Undocumented.

Since
Haiku R1

◆ GetNextKey() [3/4]

status_t BKeyStore::GetNextKey ( const char *  keyring,
uint32 &  cookie,
BKey key 
)

Undocumented.

Since
Haiku R1

◆ GetNextKey() [4/4]

status_t BKeyStore::GetNextKey ( const char *  keyring,
BKeyType  type,
BKeyPurpose  purpose,
uint32 &  cookie,
BKey key 
)

Undocumented.

Since
Haiku R1

◆ GetNextKeyring()

status_t BKeyStore::GetNextKeyring ( uint32 &  cookie,
BString keyring 
)

Undocumented.

Since
Haiku R1

◆ GetNextMasterKeyring()

status_t BKeyStore::GetNextMasterKeyring ( uint32 &  cookie,
BString keyring 
)

Undocumented.

Since
Haiku R1

◆ IsKeyringUnlocked()

bool BKeyStore::IsKeyringUnlocked ( const char *  keyring)

Undocumented.

Since
Haiku R1

◆ LockKeyring()

status_t BKeyStore::LockKeyring ( const char *  keyring)

Undocumented.

Since
Haiku R1

◆ LockMasterKeyring()

status_t BKeyStore::LockMasterKeyring ( )

Undocumented.

Since
Haiku R1

◆ PasswordStrength()

float BKeyStore::PasswordStrength ( const char *  password)

Undocumented.

Since
Haiku R1

◆ RemoveApplication() [1/2]

status_t BKeyStore::RemoveApplication ( const char *  signature)

Undocumented.

Since
Haiku R1

◆ RemoveApplication() [2/2]

status_t BKeyStore::RemoveApplication ( const char *  keyring,
const char *  signature 
)

Undocumented.

Since
Haiku R1

◆ RemoveKey() [1/2]

status_t BKeyStore::RemoveKey ( const BKey key)

Undocumented.

Since
Haiku R1

◆ RemoveKey() [2/2]

status_t BKeyStore::RemoveKey ( const char *  keyring,
const BKey key 
)

Undocumented.

Since
Haiku R1

◆ RemoveKeyring()

status_t BKeyStore::RemoveKeyring ( const char *  keyring)

Undocumented.

Since
Haiku R1

◆ RemoveKeyringFromMaster()

status_t BKeyStore::RemoveKeyringFromMaster ( const char *  keyring)

Undocumented.

Since
Haiku R1

◆ RemoveMasterUnlockKey()

status_t BKeyStore::RemoveMasterUnlockKey ( )

Undocumented.

Since
Haiku R1

◆ RemoveUnlockKey()

status_t BKeyStore::RemoveUnlockKey ( const char *  keyring)

Undocumented.

Since
Haiku R1

◆ SetMasterUnlockKey()

status_t BKeyStore::SetMasterUnlockKey ( const BKey key)

Undocumented.

Since
Haiku R1

◆ SetUnlockKey()

status_t BKeyStore::SetUnlockKey ( const char *  keyring,
const BKey key 
)

Undocumented.

Since
Haiku R1