Exemplo 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);
            }
        }
Exemplo n.º 2
0
 internal CmsEnvelopedSecureReadable(AlgorithmIdentifier algorithm, ICmsReadable readable)
 {
     this.algorithm = algorithm;
     this.readable  = readable;
 }
Exemplo 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;
			}