# GPGTrustItem

> Inherits From:
>   GPGObject : NSObject

> Declared In:
>   GPGME/GPGTrustItem.h

## Class Description

GPGTrustItem instances are returned by -[GPGContext trustListEnumeratorForSearchPattern:maximumLevel:]; you should never need to instantiate objects of that class.

CAUTION: the trust items interface is experimental.

## Symbolic Constants

> #### Synopsis:

> `GPGTRUSTITEM_H`

## Method Types

>   - keyID
>   - ownerTrustDescription
>   - validityDescription
>   - level
>   - type
>   - name

## Instance Methods

### keyID

`- (NSString *)keyID`

Returns the key ID of the key refered by the trust item.

### level

`- (int)level`

Returns the trust level of the trust item.

### name

`- (NSString *)name`

Returns the name associated with the trust item. Only if type = 2.

### ownerTrustDescription

`- (NSString *)ownerTrustDescription`

CAUTION: not yet working. Only if type = 1.

### type

`- (int)type`

Returns the type of the trust item. A value of 1 refers to a key, a value of 2 refers to a user ID.

CHECK: not yet working.

### validityDescription

`- (NSString *)validityDescription`

Returns the computed validity associated with the trust item.

Version 1.1 Copyright ©2005 by Mac GPG Project. All Rights Reserved. Sun Jan 23 16:54:42 2005