コード例 #1
0
 internal DigestFactory(TParams parameters, IEngineProvider <IDigest> digestProvider, int digestSize)
 {
     this.approvedOnlyMode = CryptoServicesRegistrar.IsInApprovedOnlyMode();
     this.parameters       = parameters;
     this.digestProvider   = digestProvider;
     this.digestSize       = digestSize;
 }
コード例 #2
0
 internal AeadCipherBuilderImpl(bool forEncryption, TParams parameters, IAeadBlockCipher cipher)
 {
     this.isApprovedModeOnly = CryptoServicesRegistrar.IsInApprovedOnlyMode();
     this.forEncryption      = forEncryption;
     this.parameters         = parameters;
     this.cipher             = cipher;
 }
コード例 #3
0
ファイル: XofFactory.cs プロジェクト: NDWX/BouncyCastle.FIPS
 internal XofFactory(TParams parameters, IEngineProvider <IXof> xofProvider)
 {
     this.approvedOnlyMode = CryptoServicesRegistrar.IsInApprovedOnlyMode();
     this.parameters       = parameters;
     this.xofProvider      = xofProvider;
 }
コード例 #4
0
 internal DigestCalculator(IDigest digest)
 {
     this.approvedOnlyMode = CryptoServicesRegistrar.IsInApprovedOnlyMode();
     this.digest           = digest;
     this.stream           = new DigestBucket(digest);
 }
コード例 #5
0
 public AADBucket(
     IAeadBlockCipher aeadCipher)
 {
     this.approvedOnlyMode = CryptoServicesRegistrar.IsInApprovedOnlyMode();
     this.aeadCipher       = aeadCipher;
 }
コード例 #6
0
 internal XofCalculator(IXof xof)
 {
     this.approvedOnlyMode = CryptoServicesRegistrar.IsInApprovedOnlyMode();
     this.xof    = xof;
     this.stream = new DigestBucket(xof);
 }
コード例 #7
0
 /// <summary>
 /// Base constructor - a wrapper for the passed in byte array.
 /// </summary>
 /// <param name="result">The byte array to be wrapped.</param>
 public SimpleBlockResult(byte[] result)
 {
     this.approvedOnlyMode = CryptoServicesRegistrar.IsInApprovedOnlyMode();
     this.result           = result;
 }
コード例 #8
0
 public DigestBucket(
     IDigest digest)
 {
     this.approvedOnlyMode = CryptoServicesRegistrar.IsInApprovedOnlyMode();
     this.digest           = digest;
 }
コード例 #9
0
 internal DigestResult(IDigest digest)
 {
     this.approvedOnlyMode = CryptoServicesRegistrar.IsInApprovedOnlyMode();
     this.digest           = digest;
 }
コード例 #10
0
 public SignatureBucket(
     ISigner signer)
 {
     this.approvedOnlyMode = CryptoServicesRegistrar.IsInApprovedOnlyMode();
     this.signer           = signer;
 }
コード例 #11
0
 internal CipherBuilderImpl(TParams parameters, IBufferedCipher cipher)
 {
     this.isApprovedModeOnly = CryptoServicesRegistrar.IsInApprovedOnlyMode();
     this.parameters         = parameters;
     this.cipher             = cipher;
 }
コード例 #12
0
 public PasswordBasedDeriver(A algorithmDetails, PbeParametersGenerator generator)
 {
     this.approvedOnlyMode = CryptoServicesRegistrar.IsInApprovedOnlyMode();
     this.algorithmDetails = algorithmDetails;
     this.generator        = generator;
 }