Public Member Functions | List of all members
BPasswordKey Class Reference

Undocumented. More...

Inherits BKey.

Public Member Functions

 BPasswordKey ()
 Undocumented. More...
 
 BPasswordKey (const char *password, BKeyPurpose purpose, const char *identifier, const char *secondaryIdentifier=NULL)
 Undocumented. More...
 
 BPasswordKey (BPasswordKey &other)
 Undocumented. More...
 
virtual ~BPasswordKey ()
 Undocumented. More...
 
const char * Password () const
 Undocumented. More...
 
virtual void PrintToStream ()
 Undocumented. More...
 
status_t SetPassword (const char *password)
 Undocumented. More...
 
status_t SetTo (const char *password, BKeyPurpose purpose, const char *identifier, const char *secondaryIdentifier=NULL)
 Undocumented. More...
 
virtual BKeyType Type () const
 Undocumented. More...
 
- Public Member Functions inherited from BKey
 BKey ()
 Undocumented. More...
 
 BKey (BKeyPurpose purpose, const char *identifier, const char *secondaryIdentifier=NULL, const uint8 *data=NULL, size_t length=0)
 Undocumented. More...
 
 BKey (BKey &other)
 Undocumented. More...
 
virtual ~BKey ()
 Undocumented. More...
 
bigtime_t CreationTime () const
 Undocumented. More...
 
const uint8 * Data () const
 Undocumented. More...
 
size_t DataLength () const
 Undocumented. More...
 
virtual status_t Flatten (BMessage &message) const
 Undocumented. More...
 
status_t GetData (uint8 *buffer, size_t bufferSize) const
 Undocumented. More...
 
const char * Identifier () const
 Undocumented. More...
 
bool operator!= (const BKey &other) const
 Undocumented. More...
 
BKeyoperator= (const BKey &other)
 Undocumented. More...
 
bool operator== (const BKey &other) const
 Undocumented. More...
 
const char * Owner () const
 Undocumented. More...
 
BKeyPurpose Purpose () const
 Undocumented. More...
 
const char * SecondaryIdentifier () const
 Undocumented. More...
 
status_t SetData (const uint8 *data, size_t length)
 Undocumented. More...
 
void SetIdentifier (const char *identifier)
 Undocumented. More...
 
void SetPurpose (BKeyPurpose purpose)
 Undocumented. More...
 
void SetSecondaryIdentifier (const char *identifier)
 Undocumented. More...
 
status_t SetTo (BKeyPurpose purpose, const char *identifier, const char *secondaryIdentifier=NULL, const uint8 *data=NULL, size_t length=0)
 Undocumented. More...
 
virtual status_t Unflatten (const BMessage &message)
 Undocumented. More...
 
void Unset ()
 Undocumented. More...
 

Detailed Description

Undocumented.

Since
Haiku R1

Constructor & Destructor Documentation

◆ BPasswordKey() [1/3]

BPasswordKey::BPasswordKey ( )

Undocumented.

Since
Haiku R1

◆ BPasswordKey() [2/3]

BPasswordKey::BPasswordKey ( const char *  password,
BKeyPurpose  purpose,
const char *  identifier,
const char *  secondaryIdentifier = NULL 
)

Undocumented.

Since
Haiku R1

◆ BPasswordKey() [3/3]

BPasswordKey::BPasswordKey ( BPasswordKey other)

Undocumented.

Since
Haiku R1

◆ ~BPasswordKey()

BPasswordKey::~BPasswordKey ( )
virtual

Undocumented.

Since
Haiku R1

Member Function Documentation

◆ Password()

const char * BPasswordKey::Password ( ) const

Undocumented.

Since
Haiku R1

◆ PrintToStream()

void BPasswordKey::PrintToStream ( )
virtual

Undocumented.

Since
Haiku R1

Reimplemented from BKey.

◆ SetPassword()

status_t BPasswordKey::SetPassword ( const char *  password)

Undocumented.

Since
Haiku R1

◆ SetTo()

status_t BPasswordKey::SetTo ( const char *  password,
BKeyPurpose  purpose,
const char *  identifier,
const char *  secondaryIdentifier = NULL 
)

Undocumented.

Since
Haiku R1

◆ Type()

BKeyType BPasswordKey::Type ( ) const
inlinevirtual

Undocumented.

Since
Haiku R1

Reimplemented from BKey.

References B_KEY_TYPE_PASSWORD, NULL, BKey::PrintToStream(), and BKey::SetTo().