Smutty


Smutty.Smutty_GPG_PublicKey

Class Smutty_GPG_PublicKey

Smutty_Object
|
+--Smutty_GPG_PublicKey

public class Smutty_GPG_PublicKey
extends Smutty_Object

represents a GPG public key

/


Constructor Summary

Smutty_GPG_PublicKey(array results)

constructor.

Method Summary
String

getKeyId()

returns the keys id

String

getName()

returns name associated with key

Constructor Detail

Smutty_GPG_PublicKey

public Smutty_GPG_PublicKey(array results)

constructor. this takes an array of lines that were output by the gpg program when validating the key. they are then parsed to find the key info.

Parameters:
results - array of lines

Method Detail

getKeyId

public String getKeyId()

returns the keys id

Returns:
key id
Go to code

getName

public String getName()

returns name associated with key

Returns:
user name
Go to code

Smutty