Jonathan Rockway > Angerwhale > Angerwhale::User

Download:
Angerwhale-0.062.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  1
View Bugs
Report a bug
Source  

SYNOPSIS ^

Don't create an instance of this class directly; it's returned from the UserStore when you need a user.

ACCESSORS ^

id

Returns the ID of the key as a 64-bit integer (actually, it returns the binary representation of that integer as a string of eight bytes)

nice_id

Returns the ID of the key as a 64-bit hexadecimal representation (i.e. 0x0f00b412cafebabe). The last four octets are what users think the OpenPGP key id is.

_keyserver

Returns the name of the keyserver to refresh the key from. Set when initialized by UserStore.

key

Returns the Crypt::OpenPGP::Keyblock representing the user's public key.

NOTE: Using this causes crashes, at least on my system during testing. Be careful.

public_key

Returns the ACSII-armoured OpenPGP public key block.

key_fingerprint

Returns the 160-bit key fingerprint as a lowercase hex string. (Same as what keyservers and GPG call the fingerprint.)

fullname

Returns the full name associated with the primary UID.

email

Returns the e-mail address associated with the primary UID.

photo

Returns the first photo block in the key. NOT IMPLEMENTED.

refresh

Refreshes the key from the network.