Decode() 공개 메소드

public Decode ( byte &Result ) : void
Result byte
리턴 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);
     }