#!/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 ds""" __author__ = 'tmatsuo@example.com (Takashi MATSUO)' TEST_OBJECT = """ V2VkIEp1biAgNCAxMjoxMTowMyBFRFQgMjAwMwo """ TEST_MGMT_DATA = """ mgmt data """ TEST_SPKI_SEXP = """ spki sexp """ TEST_SPKI_DATA = """ spki sexp spki sexp2 """ TEST_PGP_DATA = """ pgp key id pgp key packet """ TEST_X509_ISSUER_SERIAL = """ issuer name 1 """ TEST_X509_DATA = """ issuer name 1 x509 ski x509 subject name x509 certificate x509 crl """ TEST_TRANSFORM = """ xpath """ TEST_TRANSFORMS = """ xpath xpath """ TEST_RETRIEVAL_METHOD = """ xpath xpath """ TEST_RSA_KEY_VALUE = """ modulus exponent """ TEST_DSA_KEY_VALUE = """

p

q g y j seed pgen counter
""" TEST_KEY_VALUE1 = """

p

q g y j seed pgen counter
""" TEST_KEY_VALUE2 = """ modulus exponent """ TEST_KEY_NAME = """ key name """ TEST_KEY_INFO = """ 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
""" TEST_DIGEST_VALUE = """ digest value """ TEST_DIGEST_METHOD = """ """ TEST_REFERENCE = """ xpath xpath digest value """ TEST_SIGNATURE_METHOD = """ 8 """ TEST_CANONICALIZATION_METHOD = """ """ TEST_SIGNED_INFO = """ 8 xpath xpath digest value """ TEST_SIGNATURE_VALUE = """ signature value """ TEST_SIGNATURE = """ 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
"""