Esempio n. 1
0
        internal CmsTypedStream GetContentFromSessionKey(
            KeyParameter sKey)
        {
            ICmsReadable readable = secureReadable.GetReadable(sKey);

            try
            {
                return(new CmsTypedStream(readable.GetInputStream()));
            }
            catch (IOException e)
            {
                throw new CmsException("error getting .", e);
            }
        }
Esempio n. 2
0
 internal CmsEnvelopedSecureReadable(AlgorithmIdentifier algorithm, ICmsReadable readable)
 {
     this.algorithm = algorithm;
     this.readable  = readable;
 }
Esempio n. 3
0
 internal CmsAuthenticatedSecureReadable(AlgorithmIdentifier algorithm, ICmsReadable readable)
 {
     this.algorithm = algorithm;
     this.readable  = readable;
 }
			internal CmsEnvelopedSecureReadable(AlgorithmIdentifier algorithm, ICmsReadable readable)
			{
				this.algorithm = algorithm;
				this.readable = readable;
			}
			internal CmsAuthenticatedSecureReadable(AlgorithmIdentifier algorithm, ICmsReadable readable)
			{
				this.algorithm = algorithm;
				this.readable = readable;
			}