Decode() public method

public Decode ( byte &Result ) : void
Result byte
return void
コード例 #1
0
 public SSH_DSS(DataBuffer DataBuffer) {
     DataBuffer.Decode(out P);
     DataBuffer.Decode(out Q);
     DataBuffer.Decode(out G);
     DataBuffer.Decode(out Y);
     }
コード例 #2
0
        public static SSHData Decode(byte[] Data) {
            string Tag2;

            var DataBuffer = new DataBuffer(Data);
            DataBuffer.Decode(out Tag2);

            if (Tag2 == SSH_RSA.TagID) {
                return new SSH_RSA(DataBuffer);
                }

            if (Tag2 == SSH_DSS.TagID) {
                return new SSH_RSA(DataBuffer);
                }

            return null;
            }
コード例 #3
0
 public SSH_RSA(DataBuffer DataBuffer) {
     DataBuffer.Decode(out Exponent);
     DataBuffer.Decode(out Modulus);
     }