public Es256Algorithm(IPemPrivateKey privateKey)
     : base(privateKey)
 {
 }
 public Rs384Algorithm(IPemPrivateKey privateKey)
     : base(privateKey)
 {
 }
 public Ps512Algorithm(IPemPrivateKey privateKey)
     : base(privateKey)
 {
 }
Esempio n. 4
0
 public AsymmetricAlgorithm(IPemPrivateKey privateKey)
 {
     PrivateKey = privateKey;
 }
        public IAlgorithmWithKeyBuilder WithKey(IPemPrivateKey privateKey)
        {
            ((AsymmetricAlgorithm)Algorithm).PrivateKey = privateKey;

            return(this);
        }