Property | Type | Description | |
---|---|---|---|
PgpSecretKeyRingBundle | System |
Method | Description | |
---|---|---|
AddSecretKeyRing ( |
Return a new bundle containing the contents of the passed in bundle and the passed in secret key ring.
|
|
Contains ( long keyID ) : bool |
Return true if a key matching the passed in key ID is present, false otherwise.
|
|
Encode ( Stream outStr ) : void | ||
GetEncoded ( ) : byte[] | ||
GetKeyRings ( ) : IEnumerable |
Allow enumeration of the secret key rings making up this collection.
|
|
GetKeyRings ( string userId ) : IEnumerable |
Allow enumeration of the key rings associated with the passed in userId.
|
|
GetKeyRings ( string userId, bool matchPartial ) : IEnumerable |
Allow enumeration of the key rings associated with the passed in userId.
|
|
GetKeyRings ( string userId, bool matchPartial, bool ignoreCase ) : IEnumerable |
Allow enumeration of the key rings associated with the passed in userId.
|
|
GetSecretKey ( long keyId ) : |
Return the PGP secret key associated with the given key id.
|
|
GetSecretKeyRing ( long keyId ) : |
Return the secret key ring which contains the key referred to by keyId
|
|
PgpSecretKeyRingBundle ( IEnumerable e ) : System | ||
PgpSecretKeyRingBundle ( Stream inputStream ) : System |
Build a PgpSecretKeyRingBundle from the passed in input stream.
|
|
PgpSecretKeyRingBundle ( byte encoding ) : System | ||
RemoveSecretKeyRing ( |
Return a new bundle containing the contents of the passed in bundle with the passed in secret key ring removed.
|
Method | Description | |
---|---|---|
PgpSecretKeyRingBundle ( IDictionary secretRings, IList order ) : System |
public static AddSecretKeyRing ( |
||
bundle | The |
|
secretKeyRing | The key ring to be added. | |
return |
public Contains ( long keyID ) : bool | ||
keyID | long | key ID to look for. |
return | bool |
public GetKeyRings ( string userId ) : IEnumerable | ||
userId | string | The user ID to be matched. |
return | IEnumerable |
public GetKeyRings ( string userId, bool matchPartial ) : IEnumerable | ||
userId | string | The user ID to be matched. |
matchPartial | bool | If true, userId need only be a substring of an actual ID string to match. |
return | IEnumerable |
public GetKeyRings ( string userId, bool matchPartial, bool ignoreCase ) : IEnumerable | ||
userId | string | The user ID to be matched. |
matchPartial | bool | If true, userId need only be a substring of an actual ID string to match. |
ignoreCase | bool | If true, case is ignored in user ID comparisons. |
return | IEnumerable |
public GetSecretKey ( long keyId ) : |
||
keyId | long | The ID of the secret key to return. |
return |
public GetSecretKeyRing ( long keyId ) : |
||
keyId | long | The ID of the secret key |
return |
public PgpSecretKeyRingBundle ( IEnumerable e ) : System | ||
e | IEnumerable | |
return | System |
public PgpSecretKeyRingBundle ( Stream inputStream ) : System | ||
inputStream | Stream | Input stream containing data. |
return | System |
public PgpSecretKeyRingBundle ( byte encoding ) : System | ||
encoding | byte | |
return | System |
public static RemoveSecretKeyRing ( |
||
bundle | The |
|
secretKeyRing | The key ring to be removed. | |
return |