Class PgpSecretKeyRingBundle
  
  
  
    - Namespace
- Enterprises.Org.BouncyCastle.Bcpg.OpenPgp
- Assembly
- Enterprises.BouncyCastle.Crypto.dll
 
  
  
  
    public class PgpSecretKeyRingBundle
   
  
    - Inheritance
- 
      
      PgpSecretKeyRingBundle 
    - Inherited Members
- 
    
    
    
    
    
    
    
  
Constructors
  
  
  PgpSecretKeyRingBundle(byte[])
  
  
  
  
  
    public PgpSecretKeyRingBundle(byte[] encoding)
   
  Parameters
  
    - encodingbyte[]
  PgpSecretKeyRingBundle(IEnumerable)
  
  
  
  
  
    public PgpSecretKeyRingBundle(IEnumerable e)
   
  Parameters
  
    - eIEnumerable
  PgpSecretKeyRingBundle(Stream)
  
  
  
  
  
    public PgpSecretKeyRingBundle(Stream inputStream)
   
  Parameters
  
    - inputStreamStream
Properties
  
  
  Count
  
  
  
  
  
    public int Count { get; }
   
  Property Value
  
    - int
  Size
  
  
  
  
  
    [Obsolete("Use 'Count' property instead")]
public int Size { get; }
   
  Property Value
  
    - int
Methods
  
  
  AddSecretKeyRing(PgpSecretKeyRingBundle, PgpSecretKeyRing)
  
  
  
  
  
    public static PgpSecretKeyRingBundle AddSecretKeyRing(PgpSecretKeyRingBundle bundle, PgpSecretKeyRing secretKeyRing)
   
  Parameters
  
    - bundlePgpSecretKeyRingBundle
- secretKeyRingPgpSecretKeyRing
Returns
  
    - PgpSecretKeyRingBundle
  Contains(long)
  
  
  
  
  
    public bool Contains(long keyID)
   
  Parameters
  
    - keyIDlong
Returns
  
    - bool
  Encode(Stream)
  
  
  
  
  
    public void Encode(Stream outStr)
   
  Parameters
  
    - outStrStream
  GetEncoded()
  
  
  
  
  
    public byte[] GetEncoded()
   
  Returns
  
    - byte[]
  GetKeyRings()
  
  
  
  
  
    public IEnumerable GetKeyRings()
   
  Returns
  
    - IEnumerable
  GetKeyRings(string)
  
  
  
  
  
    public IEnumerable GetKeyRings(string userId)
   
  Parameters
  
    - userIdstring
Returns
  
    - IEnumerable
  GetKeyRings(string, bool)
  
  
  
  
  
    public IEnumerable GetKeyRings(string userId, bool matchPartial)
   
  Parameters
  
    - userIdstring
- matchPartialbool
Returns
  
    - IEnumerable
  GetKeyRings(string, bool, bool)
  
  
  
  
  
    public IEnumerable GetKeyRings(string userId, bool matchPartial, bool ignoreCase)
   
  Parameters
  
    - userIdstring
- matchPartialbool
- ignoreCasebool
Returns
  
    - IEnumerable
  GetSecretKey(long)
  
  
  
  
  
    public PgpSecretKey GetSecretKey(long keyId)
   
  Parameters
  
    - keyIdlong
Returns
  
    - PgpSecretKey
  GetSecretKeyRing(long)
  
  
  
  
  
    public PgpSecretKeyRing GetSecretKeyRing(long keyId)
   
  Parameters
  
    - keyIdlong
Returns
  
    - PgpSecretKeyRing
  RemoveSecretKeyRing(PgpSecretKeyRingBundle, PgpSecretKeyRing)
  
  
  
  
  
    public static PgpSecretKeyRingBundle RemoveSecretKeyRing(PgpSecretKeyRingBundle bundle, PgpSecretKeyRing secretKeyRing)
   
  Parameters
  
    - bundlePgpSecretKeyRingBundle
- secretKeyRingPgpSecretKeyRing
Returns
  
    - PgpSecretKeyRingBundle