Method | Description | |
---|---|---|
Encode ( Stream outStr ) : void | ||
GetEncoded ( ) : byte[] | ||
GetPublicKey ( ) : |
Return the first public key in the ring.
|
|
GetPublicKey ( long keyId ) : |
Return the public key referred to by the passed in key ID if it is present.
|
|
GetPublicKeys ( ) : IEnumerable |
Allows enumeration of all the public keys.
|
|
InsertPublicKey ( |
Returns a new key ring with the public key passed in either added or replacing an existing one.
|
|
PgpPublicKeyRing ( Stream inputStream ) : System | ||
PgpPublicKeyRing ( byte encoding ) : System | ||
RemovePublicKey ( |
Returns a new key ring with the public key passed in removed from the key ring.
|
Method | Description | |
---|---|---|
PgpPublicKeyRing ( |
public GetPublicKey ( long keyId ) : |
||
keyId | long | |
return |
public static InsertPublicKey ( |
||
pubRing | The public key ring to be modified. | |
pubKey | The public key to be inserted. | |
return |
public PgpPublicKeyRing ( Stream inputStream ) : System | ||
inputStream | Stream | |
return | System |
public PgpPublicKeyRing ( byte encoding ) : System | ||
encoding | byte | |
return | System |
public static RemovePublicKey ( |
||
pubRing | The public key ring to be modified. | |
pubKey | The public key to be removed. | |
return |