解码前:
Dim signedCred As String= "PFNpZ25lZEVudmVsb3BlPjxjb250ZW50PjwhW0NEQVRBWzxVc2VyQ3JlZGVudGlhbEVudmVsb3BlPgogIDxhdXRoQXBwSWQ+DW10PC9hdXRoQXBwSWQ+CiAgPHVzZXI+CiAgICA8ZGlzcGxheU5hbWU+566h55CG5ZGYPC9kaXNwbGF5TmFtZT4KICAgIDxlbWFpbD48L2VtYWlsPgogICAgPG5hbWU+YWRtaW5Acm9vdC51bXQ8L25hbWU+CiAgICA8YXV0aEJ5PnVtdDWvYXV0aEJ5PgogIDwvdXNlcj4KICA8dmFsaWRUaW1lPjIwMTQtMdctmjMgMDE6Mzg6MzM8L3ZhbGlkVGltZT4KPC9Vc2VyQ3JlZGVudGlhbEVudmVsb3BlPl1dPjwvY29udGVudD48c2lnbmF0dXJlPnFRb1U5UUtNamxteGxTNWo0RzIzV1k1UnBQSEwxQWNWQ3ZIDktNVjhjDWNVb2U3TnM4ZjVsbCt5alo5R3JMc3RoSlJDT3JPVjZ5OWwvMVNPRTA0ck5ZQnRVdzlMZUhTcTVGNTAwMUk5bHpyQkVHMTdzaXVCUEgreHlVL3A0T05VbVVxKzJnemxHU2ZkcUpobjk1eU5UVU1ndzJ2Szd2OHI5VGdibnlwYjhDOD08L3NpZ25hdHVyZT48YXBwSWQ+DW10PC9hcHBJZD48L1NpZ25lZEVudmVsb3BlPg=="
Dim signedFromUmt As String = System.Text.EnCoding.GetEnCoding("utf-8").GetString(Convert.FromBase64String(signedCred))
解码后:
<SignedEnvelope> <content><![cdaTA[ <UserCredentialEnvelope> <authAppID>umt</authAppID> <user> <displayname>管理员</displayname> <email></email> <name>admin@root.umt</name> <authBy>umt</authBy> </user> <valIDTime>2014-07-23 01:38:33</valIDTime> </UserCredentialEnvelope>]]> </content> <signature> qQoU9QKMjlmxlS5j4G23WY5RpPHL1AcVCvHvKMV8cucUoe7Ns8f5ll+yjZ9GrLsthJRCOrOV6y9l/1SOE04rNYBtUw9LeHSq5F5001I9lzrBEG17siuBPH+xyU/p4ONUmUq+2gzlGSfdqJhn95yNTUMgw2vK7v8r9Tgbnypb8C8= </signature> <appID>umt</appID> </SignedEnvelope>
总结以上是内存溢出为你收集整理的vb.net Base64解码全部内容,希望文章能够帮你解决vb.net Base64解码所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)