static pgpDigParams _digp = NULL;
-struct pgpValTbl_s const pgpSigTypeTbl[] = {
+static struct pgpValTbl_s const pgpSigTypeTbl[] = {
{ PGPSIGTYPE_BINARY, "Binary document signature" },
{ PGPSIGTYPE_TEXT, "Text document signature" },
{ PGPSIGTYPE_STANDALONE, "Standalone signature" },
{ -1, "Unknown signature type" },
};
-struct pgpValTbl_s const pgpPubkeyTbl[] = {
+static struct pgpValTbl_s const pgpPubkeyTbl[] = {
{ PGPPUBKEYALGO_RSA, "RSA" },
{ PGPPUBKEYALGO_RSA_ENCRYPT,"RSA(Encrypt-Only)" },
{ PGPPUBKEYALGO_RSA_SIGN, "RSA(Sign-Only)" },
{ -1, "Unknown public key algorithm" },
};
-struct pgpValTbl_s const pgpSymkeyTbl[] = {
+static struct pgpValTbl_s const pgpSymkeyTbl[] = {
{ PGPSYMKEYALGO_PLAINTEXT, "Plaintext" },
{ PGPSYMKEYALGO_IDEA, "IDEA" },
{ PGPSYMKEYALGO_TRIPLE_DES, "3DES" },
{ -1, "Unknown symmetric key algorithm" },
};
-struct pgpValTbl_s const pgpCompressionTbl[] = {
+static struct pgpValTbl_s const pgpCompressionTbl[] = {
{ PGPCOMPRESSALGO_NONE, "Uncompressed" },
{ PGPCOMPRESSALGO_ZIP, "ZIP" },
{ PGPCOMPRESSALGO_ZLIB, "ZLIB" },
{ -1, "Unknown compression algorithm" },
};
-struct pgpValTbl_s const pgpHashTbl[] = {
+static struct pgpValTbl_s const pgpHashTbl[] = {
{ PGPHASHALGO_MD5, "MD5" },
{ PGPHASHALGO_SHA1, "SHA1" },
{ PGPHASHALGO_RIPEMD160, "RIPEMD160" },
{ -1, "Unknown hash algorithm" },
};
-struct pgpValTbl_s const pgpKeyServerPrefsTbl[] = {
+static struct pgpValTbl_s const pgpKeyServerPrefsTbl[] = {
{ 0x80, "No-modify" },
{ -1, "Unknown key server preference" },
};
-struct pgpValTbl_s const pgpSubTypeTbl[] = {
+static struct pgpValTbl_s const pgpSubTypeTbl[] = {
{ PGPSUBTYPE_SIG_CREATE_TIME,"signature creation time" },
{ PGPSUBTYPE_SIG_EXPIRE_TIME,"signature expiration time" },
{ PGPSUBTYPE_EXPORTABLE_CERT,"exportable certification" },
{ -1, "Unknown signature subkey type" },
};
-struct pgpValTbl_s const pgpTagTbl[] = {
+static struct pgpValTbl_s const pgpTagTbl[] = {
{ PGPTAG_PUBLIC_SESSION_KEY,"Public-Key Encrypted Session Key" },
{ PGPTAG_SIGNATURE, "Signature" },
{ PGPTAG_SYMMETRIC_SESSION_KEY,"Symmetric-Key Encrypted Session Key" },
{ -1, "Unknown packet tag" },
};
-struct pgpValTbl_s const pgpArmorTbl[] = {
+static struct pgpValTbl_s const pgpArmorTbl[] = {
{ PGPARMOR_MESSAGE, "MESSAGE" },
{ PGPARMOR_PUBKEY, "PUBLIC KEY BLOCK" },
{ PGPARMOR_SIGNATURE, "SIGNATURE" },
{ -1, "Unknown armor block" }
};
-struct pgpValTbl_s const pgpArmorKeyTbl[] = {
+static struct pgpValTbl_s const pgpArmorKeyTbl[] = {
{ PGPARMORKEY_VERSION, "Version: " },
{ PGPARMORKEY_COMMENT, "Comment: " },
{ PGPARMORKEY_MESSAGEID, "MessageID: " },
} pgpTag;
/** \ingroup rpmpgp
- */
-extern struct pgpValTbl_s const pgpTagTbl[];
-
-/** \ingroup rpmpgp
* 5.1. Public-Key Encrypted Session Key Packets (Tag 1)
*
* A Public-Key Encrypted Session Key packet holds the session key used
} pgpSigType;
/** \ingroup rpmpgp
- */
-extern struct pgpValTbl_s const pgpSigTypeTbl[];
-
-/** \ingroup rpmpgp
* 9.1. Public Key Algorithms
*
\verbatim
} pgpPubkeyAlgo;
/** \ingroup rpmpgp
- */
-extern struct pgpValTbl_s const pgpPubkeyTbl[];
-
-/** \ingroup rpmpgp
* 9.2. Symmetric Key Algorithms
*
\verbatim
} pgpSymkeyAlgo;
/** \ingroup rpmpgp
- * Symmetric key (string, value) pairs.
- */
-extern struct pgpValTbl_s const pgpSymkeyTbl[];
-
-/** \ingroup rpmpgp
* 9.3. Compression Algorithms
*
\verbatim
} pgpCompressAlgo;
/** \ingroup rpmpgp
- * Compression (string, value) pairs.
- */
-extern struct pgpValTbl_s const pgpCompressionTbl[];
-
-/** \ingroup rpmpgp
* 9.4. Hash Algorithms
*
\verbatim
} pgpHashAlgo;
/** \ingroup rpmpgp
- * Hash (string, value) pairs.
- */
-extern struct pgpValTbl_s const pgpHashTbl[];
-
-/** \ingroup rpmpgp
* 5.2.2. Version 3 Signature Packet Format
*
* The body of a version 3 Signature Packet contains:
} pgpSubType;
/** \ingroup rpmpgp
- * Subtype (string, value) pairs.
- */
-extern struct pgpValTbl_s const pgpSubTypeTbl[];
-
-/** \ingroup rpmpgp
* 5.2. Signature Packet (Tag 2)
*
* A signature packet describes a binding between some public key and
} pgpArmor;
/** \ingroup rpmpgp
- * Armor (string, value) pairs.
- */
-extern struct pgpValTbl_s const pgpArmorTbl[];
-
-/** \ingroup rpmpgp
*/
typedef enum pgpArmorKey_e {
PGPARMORKEY_VERSION = 1, /*!< Version: */
} pgpArmorKey;
/** \ingroup rpmpgp
- * Armor key (string, value) pairs.
- */
-extern struct pgpValTbl_s const pgpArmorKeyTbl[];
-
-/** \ingroup rpmpgp
* Bit(s) to control digest operation.
*/
typedef enum rpmDigestFlags_e {