static private GetSigAlgID ( |
||
sigOid | ||
algorithmName | string | |
리턴 |
public void SetSignatureAlgorithm(string signatureAlgorithm) { this.signatureAlgorithm = signatureAlgorithm; try { this.sigOID = X509Utilities.GetAlgorithmOid(signatureAlgorithm); } catch (Exception innerException) { throw new ArgumentException("Unknown signature type requested", innerException); } this.sigAlgId = X509Utilities.GetSigAlgID(this.sigOID, signatureAlgorithm); this.tbsGen.SetSignature(this.sigAlgId); }
public void SetSignatureAlgorithm(string signatureAlgorithm) { //IL_001b: Unknown result type (might be due to invalid IL or missing references) this.signatureAlgorithm = signatureAlgorithm; try { sigOID = X509Utilities.GetAlgorithmOid(signatureAlgorithm); } catch (global::System.Exception) { throw new ArgumentException("Unknown signature type requested"); } sigAlgId = X509Utilities.GetSigAlgID(sigOID, signatureAlgorithm); acInfoGen.SetSignature(sigAlgId); }
public void SetSignatureAlgorithm( string signatureAlgorithm) { this.signatureAlgorithm = signatureAlgorithm; try { sigOid = X509Utilities.GetAlgorithmOid(signatureAlgorithm); } catch (Exception) { throw new ArgumentException("Unknown signature type requested: " + signatureAlgorithm); } sigAlgId = X509Utilities.GetSigAlgID(sigOid, signatureAlgorithm); tbsGen.SetSignature(sigAlgId); }