예제 #1
0
        internal bool IsAssociationInPermittedRange(Protocol protocol, string associationType)
        {
            int lengthInBits = HmacShaAssociation.GetSecretLength(protocol, associationType) * 8;

            return(lengthInBits >= MinimumHashBitLength && lengthInBits <= MaximumHashBitLength);
        }
예제 #2
0
 internal override string GetAssociationType(Protocol protocol)
 {
     return(typeIdentity.GetAssociationType(protocol));
 }