~ubuntu-branches/ubuntu/natty/xml-security-c/natty

« back to all changes in this revision

Viewing changes to include/xsec/dsig/DSIGKeyInfo.hpp

  • Committer: Bazaar Package Importer
  • Author(s): Russ Allbery
  • Date: 2009-08-05 14:11:52 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20090805141152-a7xyrgur2sq3exkr
Tags: 1.5.1-1
* New upstream release.
  - Rename library package for upstream SONAME bump.
* Upstream now ships an older version of libtool, so run libtoolize and
  aclocal before the build.  Add build dependencies on automake and
  libtool.
* Build against Xerces-C 3.0.
* Stop building against Xalan.  The Xalan packages for Debian have been
  orphaned, the current Xalan release does not support Xerces-C 3.0, and
  porting it is not trivial.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * Copyright 2002-2005 The Apache Software Foundation.
 
2
 * Copyright 2002-2009 The Apache Software Foundation.
3
3
 *
4
4
 * Licensed under the Apache License, Version 2.0 (the "License");
5
5
 * you may not use this file except in compliance with the License.
21
21
 *
22
22
 * Author(s): Berin Lautenbach
23
23
 *
24
 
 * $Id: DSIGKeyInfo.hpp 566299 2007-08-15 18:51:47Z scantor $
 
24
 * $Id: DSIGKeyInfo.hpp 738757 2009-01-29 04:25:58Z scantor $
25
25
 *
26
26
 */
27
27
 
61
61
 
62
62
public:
63
63
 
64
 
        /** 
 
64
        /**
65
65
         * \brief List of potential KeyInfo types
66
66
         *
67
67
         * The keyIntoType enumerated type defines the KeyInfo types known by
68
68
         * the XML-Security-C library.
69
69
         *
70
70
         */
71
 
         
 
71
 
72
72
 
73
73
        enum keyInfoType {
74
 
 
 
74
        KEYINFO_EXTENSION       = 0,            // Extension type unknown to library
75
75
                KEYINFO_NOTSET                  = 1,                    // Empty key type
76
76
                KEYINFO_X509                    = 2,                    // X509 Certificate (with embedded key)
77
77
                KEYINFO_VALUE_DSA               = 3,                    // DSA Key
80
80
                KEYINFO_PGPDATA                 = 6,                    // A PGP key
81
81
                KEYINFO_SPKIDATA                = 7,
82
82
                KEYINFO_MGMTDATA                = 8,                    // Management data
83
 
                KEYINFO_ENCRYPTEDKEY    = 9                             // XML Encryption - Encrypted Key
84
 
 
 
83
                KEYINFO_ENCRYPTEDKEY    = 9                     // XML Encryption - Encrypted Key
85
84
        };
86
85
 
87
86
public:
119
118
        virtual keyInfoType getKeyInfoType(void) const = 0;
120
119
 
121
120
        /**
122
 
         * \brief Return the DOMNode that heads up this DOMNode
 
121
         * \brief Return the DOMNode that heads up this KeyInfo child
123
122
         */
124
123
 
125
 
        virtual XERCES_CPP_NAMESPACE_QUALIFIER DOMNode *getKeyInfoDOMNode() 
 
124
        virtual XERCES_CPP_NAMESPACE_QUALIFIER DOMNode *getKeyInfoDOMNode()
126
125
                {return mp_keyInfoDOMNode;}
127
126
 
128
127
        /**