PHP 클래스 Horde_Pgp_Element_Key, horde

저자: Michael Slusarz ([email protected])
상속: extends Horde_Pgp_Element
파일 보기 프로젝트 열기: horde/horde 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$_cache array Cached data.

공개 메소드들

메소드 설명
__get ( $name )
containsEmail ( $email ) : boolean Does this key contain an e-mail address?
getEncryptKeys ( ) : array Return the list of verified encryption subkeys in this key.
getFingerprints ( ) : array Return the list of key fingerprints.
getPublicKey ( ) : Horde_Pgp_Element_PublicKey Return the public key.
getSignKeys ( ) : array Returns the list of signing subkeys within this key.
getUserIds ( ) : array Returns the list of user ID information associated with this key.

보호된 메소드들

메소드 설명
_parse ( ) Parse the message data, verifying the key contents.
_parseCreation ( $p )
_parseRevokePacket ( $p )
_parseVerify ( $key, $data, $sig )

메소드 상세

__get() 공개 메소드

public __get ( $name )

_parse() 보호된 메소드

Parse the message data, verifying the key contents.
protected _parse ( )

_parseCreation() 보호된 메소드

protected _parseCreation ( $p )

_parseRevokePacket() 보호된 메소드

protected _parseRevokePacket ( $p )

_parseVerify() 보호된 메소드

protected _parseVerify ( $key, $data, $sig )

containsEmail() 공개 메소드

Does this key contain an e-mail address?
public containsEmail ( $email ) : boolean
리턴 boolean True if the key contains the e-mail address.

getEncryptKeys() 공개 메소드

Return the list of verified encryption subkeys in this key.
public getEncryptKeys ( ) : array
리턴 array An array of objects, with these keys: - created: (DateTime) Creation time. - fingerprint: (string) Key fingerprint. - id: (string) Key ID. - key: (OpenPGP_PublicKeyPacket) Key packet. - revoke: (object) Revocation information. Elements: - created: (DateTime) Creation time. - info: (string) Human readable reason string. - reason: (integer) Revocation reason.

getFingerprints() 공개 메소드

Return the list of key fingerprints.
public getFingerprints ( ) : array
리턴 array Keys are key IDs; values are fingerprints.

getPublicKey() 추상적인 공개 메소드

Return the public key.
abstract public getPublicKey ( ) : Horde_Pgp_Element_PublicKey
리턴 Horde_Pgp_Element_PublicKey Public key.

getSignKeys() 공개 메소드

Returns the list of signing subkeys within this key.
public getSignKeys ( ) : array
리턴 array An array of objects, with these keys: - created: (DateTime) Creation time. - fingerprint: (string) Key fingerprint. - id: (string) Key ID. - key: (OpenPGP_PublicKeyPacket) Key packet. - revoke: (object) Revocation information. Elements: - created: (DateTime) Creation time. - info: (string) Human readable reason string. - reason: (integer) Revocation reason.

getUserIds() 공개 메소드

Returns the list of user ID information associated with this key.
public getUserIds ( ) : array
리턴 array An array of objects, with these keys: - comment: (string) Comment. - created: (DateTime) Creation time. - email: (Horde_Mail_Rfc822_Address) E-mail address. - key: (OpenPGP_PublicKeyPacket) Key packet. - revoke: (object) Revocation information. Elements: - created: (DateTime) Creation time. - info: (string) Human readable reason string. - reason: (integer) Revocation reason. - sig: (OpenPGP_SignaturePacket) Signature packet.

프로퍼티 상세

$_cache 보호되어 있는 프로퍼티

Cached data.
protected array $_cache
리턴 array