VerifyAlgorithmName() приватный Метод

private VerifyAlgorithmName ( string algorithm ) : string
algorithm string
Результат string
Пример #1
0
 protected ECKeyParameters(string algorithm, bool isPrivate, ECDomainParameters parameters) : base(isPrivate)
 {
     if (algorithm == null)
     {
         throw new ArgumentNullException("algorithm");
     }
     if (parameters == null)
     {
         throw new ArgumentNullException("parameters");
     }
     this.algorithm  = ECKeyParameters.VerifyAlgorithmName(algorithm);
     this.parameters = parameters;
 }
Пример #2
0
 protected ECKeyParameters(string algorithm, bool isPrivate, DerObjectIdentifier publicKeyParamSet) : base(isPrivate)
 {
     if (algorithm == null)
     {
         throw new ArgumentNullException("algorithm");
     }
     if (publicKeyParamSet == null)
     {
         throw new ArgumentNullException("publicKeyParamSet");
     }
     this.algorithm         = ECKeyParameters.VerifyAlgorithmName(algorithm);
     this.parameters        = ECKeyParameters.LookupParameters(publicKeyParamSet);
     this.publicKeyParamSet = publicKeyParamSet;
 }