public Asn1KeyWrapper(string algorithm, X509Certificate cert) { this.algorithm = algorithm; wrapper = KeyWrapperUtil.WrapperForName(algorithm, cert.GetPublicKey()); }
public Asn1KeyUnwrapper(string algorithm, ICipherParameters key) { this.algorithm = algorithm; wrapper = KeyWrapperUtil.UnwrapperForName(algorithm, key); }