public SignaturePublicKeyMessage GetSignaturePublicKey()
        {
            UsernameToken token = SecurityHelper.GetLicenseToken(RequestSoapContext.Current);
            SignaturePublicKeyMessage result =  new SignaturePublicKeyMessage();

            if ( publicKeyString.Length == 0 )
            {
                this.publicKeyString = this.ReadServerEncryptionKey().ToXmlString(false);
            }

            result.PublicKeyString = this.publicKeyString;

            return result;
        }
        public SignaturePublicKeyMessage GetScriptingApplicationPublicKey()
        {
            UsernameToken token = SecurityHelper.GetLicenseToken(RequestSoapContext.Current);

            SignaturePublicKeyMessage message = new SignaturePublicKeyMessage();
            message.PublicKeyString = GetPublicKey;

            return message;
        }