26 references to AlgorithmSuite
System.ServiceModel (26)
System\ServiceModel\Security\ReceiveSecurityHeader.cs (5)
860
int maxKeyDerivationLengthInBits = this.
AlgorithmSuite
.DefaultEncryptionKeyDerivationLength >= this.
AlgorithmSuite
.DefaultSignatureKeyDerivationLength ?
861
this.
AlgorithmSuite
.DefaultEncryptionKeyDerivationLength : this.
AlgorithmSuite
.DefaultSignatureKeyDerivationLength;
1597
string expectedDigestAlgorithm = expectTimestampToBeSigned ? this.
AlgorithmSuite
.DefaultDigestAlgorithm : null;
System\ServiceModel\Security\SendSecurityHeader.cs (9)
407
int keyLength = Math.Max(128, this.
AlgorithmSuite
.DefaultSymmetricKeyLength);
408
CryptoHelper.ValidateSymmetricKeyLength(keyLength, this.
AlgorithmSuite
);
413
this.
AlgorithmSuite
.GetKeyWrapAlgorithm(elementContainer.SourceEncryptionToken, out keyWrapAlgorithm, out keyWrapAlgorithmDictionaryString);
432
string derivationAlgorithm = this.
AlgorithmSuite
.GetEncryptionKeyDerivationAlgorithm(sourceToken, this.StandardsManager.MessageSecurityVersion.SecureConversationVersion);
437
this.
AlgorithmSuite
.GetEncryptionKeyDerivationLength(sourceToken, this.StandardsManager.MessageSecurityVersion.SecureConversationVersion), null, DerivedKeySecurityToken.DefaultNonceLength, sourceToken, sourceTokenIdentifierClause, derivationAlgorithm, GenerateId());
797
string derivationAlgorithm = this.
AlgorithmSuite
.GetSignatureKeyDerivationAlgorithm(this.elementContainer.SourceSigningToken, this.StandardsManager.MessageSecurityVersion.SecureConversationVersion);
801
DerivedKeySecurityToken derivedSigningToken = new DerivedKeySecurityToken(-1, 0, this.
AlgorithmSuite
.GetSignatureKeyDerivationLength(this.elementContainer.SourceSigningToken, this.StandardsManager.MessageSecurityVersion.SecureConversationVersion), null, DerivedKeySecurityToken.DefaultNonceLength, this.elementContainer.SourceSigningToken,
933
this.
AlgorithmSuite
.GetSignatureKeyDerivationLength(source, this.StandardsManager.MessageSecurityVersion.SecureConversationVersion), null,
964
this.
AlgorithmSuite
.GetSignatureKeyDerivationLength(source, this.StandardsManager.MessageSecurityVersion.SecureConversationVersion), null,
System\ServiceModel\Security\WSSecurityOneDotOneReceiveSecurityHeader.cs (1)
53
using (SymmetricAlgorithm algorithm = CreateDecryptionAlgorithm(token, headerXml.EncryptionMethod, this.
AlgorithmSuite
))
System\ServiceModel\Security\WSSecurityOneDotZeroReceiveSecurityHeader.cs (6)
83
using (SymmetricAlgorithm algorithm = CreateDecryptionAlgorithm(token, bodyXml.EncryptionMethod, this.
AlgorithmSuite
))
116
using (SymmetricAlgorithm algorithm = CreateDecryptionAlgorithm(encryptionToken, encryptedData.EncryptionMethod, this.
AlgorithmSuite
))
132
this.
AlgorithmSuite
.EnsureAcceptableKeyWrapAlgorithm(token.WrappingAlgorithm, token.WrappingSecurityKey is AsymmetricSecurityKey);
596
this.
AlgorithmSuite
.EnsureAcceptableSignatureKeySize(securityKey, token);
597
this.
AlgorithmSuite
.EnsureAcceptableSignatureAlgorithm(securityKey, signedXml.Signature.SignedInfo.SignatureMethod);
656
this.
AlgorithmSuite
.EnsureAcceptableDigestAlgorithm(reference.DigestMethod);
System\ServiceModel\Security\WSSecurityOneDotZeroSendSecurityHeader.cs (5)
57
get { return this.
AlgorithmSuite
.DefaultEncryptionAlgorithm; }
62
get { return this.
AlgorithmSuite
.DefaultEncryptionAlgorithmDictionaryString; }
607
this.hashStream = hashStream = new HashStream(CryptoHelper.CreateHashAlgorithm(this.
AlgorithmSuite
.DefaultDigestAlgorithm));
650
SecurityAlgorithmSuite suite = this.
AlgorithmSuite
;
685
SecurityAlgorithmSuite algorithmSuite = this.
AlgorithmSuite
;