#!/usr/bin/env python # # Copyright (C) 2007 SIOS Technology, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. """Test data for saml2""" __author__ = 'tmatsuo@example.com (Takashi MATSUO)' TEST_STATUS_CODE = """ """ TEST_STATUS = """ status message """ TEST_NAME_ID_POLICY = """ """ TEST_IDP_ENTRY = """ """ TEST_IDP_LIST = """ http://www.example.com/GetComplete """ TEST_SCOPING = """ http://www.example.com/GetComplete http://www.example.com/RequesterID """ TEST_REQUESTED_AUTHN_CONTEXT = """ http://www.example.com/authnContextClassRef http://www.example.com/authnContextDeclRef """ TEST_AUTHN_REQUEST = """ http://www.example.com/test 8 xpath xpath digest value signature value key name

p

q g y j seed pgen counter
xpath xpath issuer name 1 x509 ski x509 subject name x509 certificate x509 crl pgp key id pgp key packet mgmt data spki sexp spki sexp2
V2VkIEp1biAgNCAxMjoxMTowMyBFRFQgMjAwMwo
tmatsuo@example.com admin@example.com http://www.example.com/Audience http://www.example.com/Audience http://www.example.com/authnContextClassRef http://www.example.com/authnContextDeclRef http://www.example.com/GetComplete http://www.example.com/RequesterID
""" TEST_LOGOUT_REQUEST = """ http://www.example.com/test 8 xpath xpath digest value signature value key name

p

q g y j seed pgen counter
xpath xpath issuer name 1 x509 ski x509 subject name x509 certificate x509 crl pgp key id pgp key packet mgmt data spki sexp spki sexp2
V2VkIEp1biAgNCAxMjoxMTowMyBFRFQgMjAwMwo
tmatsuo@example.com tmatsuo@example.com session index
""" TEST_LOGOUT_RESPONSE = """ http://www.example.com/test 8 xpath xpath digest value signature value key name

p

q g y j seed pgen counter
xpath xpath issuer name 1 x509 ski x509 subject name x509 certificate x509 crl pgp key id pgp key packet mgmt data spki sexp spki sexp2
V2VkIEp1biAgNCAxMjoxMTowMyBFRFQgMjAwMwo
status message
"""