DecodeOpenSSLPrivateKey() 개인적인 메소드

private DecodeOpenSSLPrivateKey ( [ instr ) : byte[]
instr [
리턴 byte[]
예제 #1
0
        private PrivateKeySigner([NotNull] string privateKey)
        {
            if (privateKey == null)
            {
                throw new ArgumentNullException("privateKey");
            }

            _key = OpenSslKey.DecodeOpenSSLPrivateKey(privateKey);
        }
예제 #2
0
        PrivateKeySigner(string privateKey, SigningAlgorithm signingAlgorithm)
        {
            if (privateKey == null)
            {
                throw new ArgumentNullException("privateKey");
            }

            _key = OpenSslKey.DecodeOpenSSLPrivateKey(privateKey);

            _algorithmInfo = new AlgorithmInfo(signingAlgorithm);
        }