Public Member Functions | List of all members
BKey Class Reference

Undocumented. More...

Inherited by BPasswordKey.

Public Member Functions

 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...
 
virtual void PrintToStream ()
 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 BKeyType Type () const
 Undocumented. More...
 
virtual status_t Unflatten (const BMessage &message)
 Undocumented. More...
 
void Unset ()
 Undocumented. More...
 

Detailed Description

Undocumented.

Since
Haiku R1

Constructor & Destructor Documentation

◆ BKey() [1/3]

BKey::BKey ( )

Undocumented.

Since
Haiku R1

◆ BKey() [2/3]

BKey::BKey ( BKeyPurpose  purpose,
const char *  identifier,
const char *  secondaryIdentifier = NULL,
const uint8 *  data = NULL,
size_t  length = 0 
)

Undocumented.

Since
Haiku R1

◆ BKey() [3/3]

BKey::BKey ( BKey other)

Undocumented.

Since
Haiku R1

◆ ~BKey()

BKey::~BKey ( )
virtual

Undocumented.

Since
Haiku R1

Member Function Documentation

◆ CreationTime()

bigtime_t BKey::CreationTime ( ) const

Undocumented.

Since
Haiku R1

Referenced by Type().

◆ Data()

const uint8 * BKey::Data ( ) const

Undocumented.

Since
Haiku R1

Referenced by Type().

◆ DataLength()

size_t BKey::DataLength ( ) const

Undocumented.

Since
Haiku R1

Referenced by Type().

◆ Flatten()

status_t BKey::Flatten ( BMessage message) const
virtual

Undocumented.

Since
Haiku R1

Referenced by Type().

◆ GetData()

status_t BKey::GetData ( uint8 *  buffer,
size_t  bufferSize 
) const

Undocumented.

Since
Haiku R1

Referenced by Type().

◆ Identifier()

const char * BKey::Identifier ( ) const

Undocumented.

Since
Haiku R1

Referenced by Type().

◆ operator!=()

bool BKey::operator!= ( const BKey other) const

Undocumented.

Since
Haiku R1

Referenced by Type().

◆ operator=()

BKey & BKey::operator= ( const BKey other)

Undocumented.

Since
Haiku R1

Referenced by Type().

◆ operator==()

bool BKey::operator== ( const BKey other) const

Undocumented.

Since
Haiku R1

Referenced by Type().

◆ Owner()

const char * BKey::Owner ( ) const

Undocumented.

Since
Haiku R1

Referenced by Type().

◆ PrintToStream()

void BKey::PrintToStream ( )
virtual

Undocumented.

Since
Haiku R1

Reimplemented in BPasswordKey.

Referenced by Type(), and BPasswordKey::Type().

◆ Purpose()

BKeyPurpose BKey::Purpose ( ) const

Undocumented.

Since
Haiku R1

Referenced by Type().

◆ SecondaryIdentifier()

const char * BKey::SecondaryIdentifier ( ) const

Undocumented.

Since
Haiku R1

Referenced by Type().

◆ SetData()

status_t BKey::SetData ( const uint8 *  data,
size_t  length 
)

Undocumented.

Since
Haiku R1

Referenced by Type().

◆ SetIdentifier()

void BKey::SetIdentifier ( const char *  identifier)

Undocumented.

Since
Haiku R1

Referenced by Type().

◆ SetPurpose()

void BKey::SetPurpose ( BKeyPurpose  purpose)

Undocumented.

Since
Haiku R1

Referenced by Type().

◆ SetSecondaryIdentifier()

void BKey::SetSecondaryIdentifier ( const char *  identifier)

Undocumented.

Since
Haiku R1

Referenced by Type().

◆ SetTo()

status_t BKey::SetTo ( BKeyPurpose  purpose,
const char *  identifier,
const char *  secondaryIdentifier = NULL,
const uint8 *  data = NULL,
size_t  length = 0 
)

Undocumented.

Since
Haiku R1

Referenced by Type(), and BPasswordKey::Type().

◆ Type()

virtual BKeyType BKey::Type ( ) const
inlinevirtual

◆ Unflatten()

status_t BKey::Unflatten ( const BMessage message)
virtual

Undocumented.

Since
Haiku R1

Referenced by Type().

◆ Unset()

void BKey::Unset ( )

Undocumented.

Since
Haiku R1

Referenced by Type().