Beispiel #1
0
 private bool inicializeInstanceVariables(PrivateKeyManager key, CertificateX509 certificate)
 {
     this.privateKey = key.getPrivateKeyForXML();
     if (this.privateKey == null)
     {
         this.error = key.GetError();
         return(false);
     }
     this.publicKey     = certificate.getPublicKeyXML();
     this.digest        = certificate.getPublicKeyHash();
     this.asymAlgorithm = certificate.getPublicKeyAlgorithm();
     return(true);
 }