Exemplo n.º 1
0
    internal CmsTypedStream GetContentFromSessionKey(KeyParameter sKey)
    {
        CmsReadable readable = secureReadable.GetReadable(sKey);

        try
        {
            return(new CmsTypedStream(readable.GetInputStream()));
        }
        catch (IOException e)
        {
            throw new CmsException("error getting .", e);
        }
    }
        internal CmsTypedStream GetContentFromSessionKey(KeyParameter sKey)
        {
            //IL_001c: Expected O, but got Unknown
            CmsReadable readable = secureReadable.GetReadable(sKey);

            try
            {
                return(new CmsTypedStream(readable.GetInputStream()));
            }
            catch (IOException val)
            {
                IOException e = val;
                throw new CmsException("error getting .", (global::System.Exception)(object) e);
            }
        }
Exemplo n.º 3
0
 internal CmsEnvelopedSecureReadable(AlgorithmIdentifier algorithm, CmsReadable readable)
 {
     this.algorithm = algorithm;
     this.readable  = readable;
 }
Exemplo n.º 4
0
 internal CmsAuthenticatedSecureReadable(AlgorithmIdentifier algorithm, CmsReadable readable)
 {
     this.algorithm = algorithm;
     this.readable  = readable;
 }
Exemplo n.º 5
0
 public CmsEnvelopedSecureReadable(AlgorithmIdentifier encAlg, CmsReadable readable)
 {
     this.encAlg   = encAlg;
     this.readable = readable;
 }
			internal CmsEnvelopedSecureReadable(AlgorithmIdentifier algorithm, CmsReadable readable)
			{
				this.algorithm = algorithm;
				this.readable = readable;
			}
			internal CmsAuthenticatedSecureReadable(AlgorithmIdentifier algorithm, CmsReadable readable)
			{
				this.algorithm = algorithm;
				this.readable = readable;
			}