qca
opensslQCAPlugin Namespace Reference
Enumerations | |
| enum | ConstraintBit { Bit_DigitalSignature = 0, Bit_NonRepudiation = 1, Bit_KeyEncipherment = 2, Bit_DataEncipherment = 3, Bit_KeyAgreement = 4, Bit_KeyCertificateSign = 5, Bit_CRLSign = 6, Bit_EncipherOnly = 7, Bit_DecipherOnly = 8 } |
Functions | |
| static QStringList | all_cipher_types () |
| static QStringList | all_hash_types () |
| static QStringList | all_mac_types () |
| QDateTime | ASN1_UTCTIME_QDateTime (ASN1_UTCTIME *tm, int *isGmt) |
| static BIGNUM * | bi2bn (const BigInteger &n) |
| static QByteArray | bio2ba (BIO *b) |
| static SecureArray | bio2buf (BIO *b) |
| static BigInteger | bn2bi (BIGNUM *n) |
| static QString | cipherIDtoString (const TLS::Version &version, const unsigned long &cipherID) |
| static Validity | convert_verify_error (int err) |
| static RSA * | createFromExisting (const RSAPrivateKey &key) |
| static BigInteger | decode (const QString &prime) |
| static QByteArray | decode_seed (const QString &hex_seed) |
| static QByteArray | dehex (const QString &hex) |
| static SecureArray | dsasig_der_to_raw (const SecureArray &in) |
| static SecureArray | dsasig_raw_to_der (const SecureArray &in) |
| static GENERAL_NAME * | find_next_general_name (GENERAL_NAMES *names, int type, int *pos) |
| static void | get_basic_constraints (X509_EXTENSION *ex, bool *ca, int *pathlen) |
| static CertificateInfo | get_cert_alt_name (X509_EXTENSION *ex) |
| static Constraints | get_cert_ext_key_usage (X509_EXTENSION *ex) |
| static QByteArray | get_cert_issuer_key_id (X509_EXTENSION *ex) |
| static Constraints | get_cert_key_usage (X509_EXTENSION *ex) |
| static CertificateInfo | get_cert_name (X509_NAME *name) |
| static QStringList | get_cert_policies (X509_EXTENSION *ex) |
| static QByteArray | get_cert_subject_key_id (X509_EXTENSION *ex) |
| static bool | get_dlgroup (const BigInteger &p, const BigInteger &g, DLParams *params) |
| static QByteArray | ipaddress_string_to_bytes (const QString &) |
| static bool | make_dlgroup (const QByteArray &seed, int bits, int counter, DLParams *params) |
| static X509_EXTENSION * | new_basic_constraints (bool ca, int pathlen) |
| static X509_EXTENSION * | new_cert_ext_key_usage (const Constraints &constraints) |
| static X509_EXTENSION * | new_cert_key_usage (const Constraints &constraints) |
| static X509_NAME * | new_cert_name (const CertificateInfo &info) |
| static X509_EXTENSION * | new_cert_policies (const QStringList &policies) |
| static X509_EXTENSION * | new_cert_subject_alt_name (const CertificateInfo &info) |
| static GENERAL_NAME * | new_general_name (const CertificateInfoType &t, const QString &val) |
| static X509_EXTENSION * | new_subject_key_id (X509 *cert) |
| static int | passphrase_cb (char *buf, int size, int rwflag, void *u) |
| EVP_PKEY * | qca_d2i_PKCS8PrivateKey (const SecureArray &in, EVP_PKEY **x, pem_password_cb *cb, void *u) |
| static bool | sameChain (STACK_OF(X509)*ossl, const QList< const MyCertContext * > &qca) |
| STACK_OF (X509)*get_pk7_certs(PKCS7 *p7) | |
| static void | try_add_general_name (GENERAL_NAMES **gn, const CertificateInfoType &t, const QString &val) |
| static void | try_add_name_item (X509_NAME **name, int nid, const QString &val) |
| static void | try_get_general_name (GENERAL_NAMES *names, const CertificateInfoType &t, CertificateInfo *info) |
| static void | try_get_name_item (X509_NAME *name, int nid, const CertificateInfoType &t, CertificateInfo *info) |
| static void | try_get_name_item_by_oid (X509_NAME *name, const QString &oidText, const CertificateInfoType &t, CertificateInfo *info) |
| static bool | usage_check (const MyCertContext &cc, UsageMode u) |
Variables | |
| const char * | IETF_1024_PRIME |
| const char * | IETF_2048_PRIME |
| const char * | IETF_4096_PRIME |
| const int | JCE_1024_COUNTER = 92 |
| const char * | JCE_1024_SEED = "8D515589 4229D5E6 89EE01E6 018A237E 2CAE64CD" |
| const int | JCE_512_COUNTER = 123 |
| const char * | JCE_512_SEED = "B869C82B 35D70E1B 1FF91B28 E37A62EC DC34409B" |
| const int | JCE_768_COUNTER = 263 |
| const char * | JCE_768_SEED = "77D0F8C4 DAD15EB8 C4F2F8D6 726CEFD9 6D5BB399" |
| static bool | ssl_init = false |
Enumeration Type Documentation
- Enumerator:
Bit_DigitalSignature Bit_NonRepudiation Bit_KeyEncipherment Bit_DataEncipherment Bit_KeyAgreement Bit_KeyCertificateSign Bit_CRLSign Bit_EncipherOnly Bit_DecipherOnly
Definition at line 366 of file qca-ossl.cpp.
Function Documentation
| static QStringList opensslQCAPlugin::all_cipher_types | ( | ) | [static] |
Definition at line 6666 of file qca-ossl.cpp.
| static QStringList opensslQCAPlugin::all_hash_types | ( | ) | [static] |
Definition at line 6637 of file qca-ossl.cpp.
| static QStringList opensslQCAPlugin::all_mac_types | ( | ) | [static] |
Definition at line 6705 of file qca-ossl.cpp.
| QDateTime opensslQCAPlugin::ASN1_UTCTIME_QDateTime | ( | ASN1_UTCTIME * | tm, | |
| int * | isGmt | |||
| ) |
Definition at line 3026 of file qca-ossl.cpp.
| static BIGNUM* opensslQCAPlugin::bi2bn | ( | const BigInteger & | n | ) | [static] |
Definition at line 103 of file qca-ossl.cpp.
| static QByteArray opensslQCAPlugin::bio2ba | ( | BIO * | b | ) | [static] |
Definition at line 78 of file qca-ossl.cpp.
| static SecureArray opensslQCAPlugin::bio2buf | ( | BIO * | b | ) | [static] |
Definition at line 61 of file qca-ossl.cpp.
| static BigInteger opensslQCAPlugin::bn2bi | ( | BIGNUM * | n | ) | [static] |
Definition at line 95 of file qca-ossl.cpp.
| static QString opensslQCAPlugin::cipherIDtoString | ( | const TLS::Version & | version, | |
| const unsigned long & | cipherID | |||
| ) | [static] |
Definition at line 4550 of file qca-ossl.cpp.
| static Validity opensslQCAPlugin::convert_verify_error | ( | int | err | ) | [static] |
Definition at line 878 of file qca-ossl.cpp.
| static RSA* opensslQCAPlugin::createFromExisting | ( | const RSAPrivateKey & | key | ) | [static] |
Definition at line 2580 of file qca-ossl.cpp.
| static BigInteger opensslQCAPlugin::decode | ( | const QString & | prime | ) | [static] |
Definition at line 1433 of file qca-ossl.cpp.
| static QByteArray opensslQCAPlugin::decode_seed | ( | const QString & | hex_seed | ) | [static] |
Definition at line 1440 of file qca-ossl.cpp.
| static QByteArray opensslQCAPlugin::dehex | ( | const QString & | hex | ) | [static] |
Definition at line 1422 of file qca-ossl.cpp.
| static SecureArray opensslQCAPlugin::dsasig_der_to_raw | ( | const SecureArray & | in | ) | [static] |
Definition at line 109 of file qca-ossl.cpp.
| static SecureArray opensslQCAPlugin::dsasig_raw_to_der | ( | const SecureArray & | in | ) | [static] |
Definition at line 131 of file qca-ossl.cpp.
| static GENERAL_NAME* opensslQCAPlugin::find_next_general_name | ( | GENERAL_NAMES * | names, | |
| int | type, | |||
| int * | pos | |||
| ) | [static] |
Definition at line 493 of file qca-ossl.cpp.
| static void opensslQCAPlugin::get_basic_constraints | ( | X509_EXTENSION * | ex, | |
| bool * | ca, | |||
| int * | pathlen | |||
| ) | [static] |
Definition at line 355 of file qca-ossl.cpp.
| static CertificateInfo opensslQCAPlugin::get_cert_alt_name | ( | X509_EXTENSION * | ex | ) | [static] |
Definition at line 619 of file qca-ossl.cpp.
| static Constraints opensslQCAPlugin::get_cert_ext_key_usage | ( | X509_EXTENSION * | ex | ) | [static] |
Definition at line 766 of file qca-ossl.cpp.
| static QByteArray opensslQCAPlugin::get_cert_issuer_key_id | ( | X509_EXTENSION * | ex | ) | [static] |
Definition at line 868 of file qca-ossl.cpp.
| static Constraints opensslQCAPlugin::get_cert_key_usage | ( | X509_EXTENSION * | ex | ) | [static] |
Definition at line 685 of file qca-ossl.cpp.
| static CertificateInfo opensslQCAPlugin::get_cert_name | ( | X509_NAME * | name | ) | [static] |
Definition at line 304 of file qca-ossl.cpp.
| static QStringList opensslQCAPlugin::get_cert_policies | ( | X509_EXTENSION * | ex | ) | [static] |
Definition at line 843 of file qca-ossl.cpp.
| static QByteArray opensslQCAPlugin::get_cert_subject_key_id | ( | X509_EXTENSION * | ex | ) | [static] |
Definition at line 858 of file qca-ossl.cpp.
| static bool opensslQCAPlugin::get_dlgroup | ( | const BigInteger & | p, | |
| const BigInteger & | g, | |||
| DLParams * | params | |||
| ) | [static] |
Definition at line 1466 of file qca-ossl.cpp.
| static QByteArray opensslQCAPlugin::ipaddress_string_to_bytes | ( | const QString & | ) | [static] |
Definition at line 379 of file qca-ossl.cpp.
| static bool opensslQCAPlugin::make_dlgroup | ( | const QByteArray & | seed, | |
| int | bits, | |||
| int | counter, | |||
| DLParams * | params | |||
| ) | [static] |
Definition at line 1451 of file qca-ossl.cpp.
| static X509_EXTENSION* opensslQCAPlugin::new_basic_constraints | ( | bool | ca, | |
| int | pathlen | |||
| ) | [static] |
Definition at line 343 of file qca-ossl.cpp.
| static X509_EXTENSION* opensslQCAPlugin::new_cert_ext_key_usage | ( | const Constraints & | constraints | ) | [static] |
Definition at line 711 of file qca-ossl.cpp.
| static X509_EXTENSION* opensslQCAPlugin::new_cert_key_usage | ( | const Constraints & | constraints | ) | [static] |
Definition at line 632 of file qca-ossl.cpp.
| static X509_NAME* opensslQCAPlugin::new_cert_name | ( | const CertificateInfo & | info | ) | [static] |
Definition at line 261 of file qca-ossl.cpp.
| static X509_EXTENSION* opensslQCAPlugin::new_cert_policies | ( | const QStringList & | policies | ) | [static] |
Definition at line 820 of file qca-ossl.cpp.
| static X509_EXTENSION* opensslQCAPlugin::new_cert_subject_alt_name | ( | const CertificateInfo & | info | ) | [static] |
Definition at line 476 of file qca-ossl.cpp.
| static GENERAL_NAME* opensslQCAPlugin::new_general_name | ( | const CertificateInfoType & | t, | |
| const QString & | val | |||
| ) | [static] |
Definition at line 384 of file qca-ossl.cpp.
| static X509_EXTENSION* opensslQCAPlugin::new_subject_key_id | ( | X509 * | cert | ) | [static] |
Definition at line 334 of file qca-ossl.cpp.
| static int opensslQCAPlugin::passphrase_cb | ( | char * | buf, | |
| int | size, | |||
| int | rwflag, | |||
| void * | u | |||
| ) | [static] |
Definition at line 153 of file qca-ossl.cpp.
| EVP_PKEY* opensslQCAPlugin::qca_d2i_PKCS8PrivateKey | ( | const SecureArray & | in, | |
| EVP_PKEY ** | x, | |||
| pem_password_cb * | cb, | |||
| void * | u | |||
| ) |
Definition at line 937 of file qca-ossl.cpp.
| bool opensslQCAPlugin::sameChain | ( | STACK_OF(X509)* | ossl, | |
| const QList< const MyCertContext * > & | qca | |||
| ) | [static] |
Definition at line 3469 of file qca-ossl.cpp.
| opensslQCAPlugin::STACK_OF | ( | X509 | ) |
Definition at line 5902 of file qca-ossl.cpp.
| static void opensslQCAPlugin::try_add_general_name | ( | GENERAL_NAMES ** | gn, | |
| const CertificateInfoType & | t, | |||
| const QString & | val | |||
| ) | [static] |
Definition at line 463 of file qca-ossl.cpp.
| static void opensslQCAPlugin::try_add_name_item | ( | X509_NAME ** | name, | |
| int | nid, | |||
| const QString & | val | |||
| ) | [static] |
Definition at line 251 of file qca-ossl.cpp.
| static void opensslQCAPlugin::try_get_general_name | ( | GENERAL_NAMES * | names, | |
| const CertificateInfoType & | t, | |||
| CertificateInfo * | info | |||
| ) | [static] |
Definition at line 511 of file qca-ossl.cpp.
| static void opensslQCAPlugin::try_get_name_item | ( | X509_NAME * | name, | |
| int | nid, | |||
| const CertificateInfoType & | t, | |||
| CertificateInfo * | info | |||
| ) | [static] |
Definition at line 274 of file qca-ossl.cpp.
| static void opensslQCAPlugin::try_get_name_item_by_oid | ( | X509_NAME * | name, | |
| const QString & | oidText, | |||
| const CertificateInfoType & | t, | |||
| CertificateInfo * | info | |||
| ) | [static] |
Definition at line 286 of file qca-ossl.cpp.
| static bool opensslQCAPlugin::usage_check | ( | const MyCertContext & | cc, | |
| UsageMode | u | |||
| ) | [static] |
Definition at line 4225 of file qca-ossl.cpp.
Variable Documentation
| const char* opensslQCAPlugin::IETF_1024_PRIME |
"FFFFFFFF FFFFFFFF C90FDAA2 2168C234 C4C6628B 80DC1CD1"
"29024E08 8A67CC74 020BBEA6 3B139B22 514A0879 8E3404DD"
"EF9519B3 CD3A431B 302B0A6D F25F1437 4FE1356D 6D51C245"
"E485B576 625E7EC6 F44C42E9 A637ED6B 0BFF5CB6 F406B7ED"
"EE386BFB 5A899FA5 AE9F2411 7C4B1FE6 49286651 ECE65381"
"FFFFFFFF FFFFFFFF"
Definition at line 1367 of file qca-ossl.cpp.
| const char* opensslQCAPlugin::IETF_2048_PRIME |
"FFFFFFFF FFFFFFFF C90FDAA2 2168C234 C4C6628B 80DC1CD1"
"29024E08 8A67CC74 020BBEA6 3B139B22 514A0879 8E3404DD"
"EF9519B3 CD3A431B 302B0A6D F25F1437 4FE1356D 6D51C245"
"E485B576 625E7EC6 F44C42E9 A637ED6B 0BFF5CB6 F406B7ED"
"EE386BFB 5A899FA5 AE9F2411 7C4B1FE6 49286651 ECE45B3D"
"C2007CB8 A163BF05 98DA4836 1C55D39A 69163FA8 FD24CF5F"
"83655D23 DCA3AD96 1C62F356 208552BB 9ED52907 7096966D"
"670C354E 4ABC9804 F1746C08 CA18217C 32905E46 2E36CE3B"
"E39E772C 180E8603 9B2783A2 EC07A28F B5C55DF0 6F4C52C9"
"DE2BCBF6 95581718 3995497C EA956AE5 15D22618 98FA0510"
"15728E5A 8AACAA68 FFFFFFFF FFFFFFFF"
Definition at line 1375 of file qca-ossl.cpp.
| const char* opensslQCAPlugin::IETF_4096_PRIME |
"FFFFFFFF FFFFFFFF C90FDAA2 2168C234 C4C6628B 80DC1CD1"
"29024E08 8A67CC74 020BBEA6 3B139B22 514A0879 8E3404DD"
"EF9519B3 CD3A431B 302B0A6D F25F1437 4FE1356D 6D51C245"
"E485B576 625E7EC6 F44C42E9 A637ED6B 0BFF5CB6 F406B7ED"
"EE386BFB 5A899FA5 AE9F2411 7C4B1FE6 49286651 ECE45B3D"
"C2007CB8 A163BF05 98DA4836 1C55D39A 69163FA8 FD24CF5F"
"83655D23 DCA3AD96 1C62F356 208552BB 9ED52907 7096966D"
"670C354E 4ABC9804 F1746C08 CA18217C 32905E46 2E36CE3B"
"E39E772C 180E8603 9B2783A2 EC07A28F B5C55DF0 6F4C52C9"
"DE2BCBF6 95581718 3995497C EA956AE5 15D22618 98FA0510"
"15728E5A 8AAAC42D AD33170D 04507A33 A85521AB DF1CBA64"
"ECFB8504 58DBEF0A 8AEA7157 5D060C7D B3970F85 A6E1E4C7"
"ABF5AE8C DB0933D7 1E8C94E0 4A25619D CEE3D226 1AD2EE6B"
"F12FFA06 D98A0864 D8760273 3EC86A64 521F2B18 177B200C"
"BBE11757 7A615D6C 770988C0 BAD946E2 08E24FA0 74E5AB31"
"43DB5BFC E0FD108E 4B82D120 A9210801 1A723C12 A787E6D7"
"88719A10 BDBA5B26 99C32718 6AF4E23C 1A946834 B6150BDA"
"2583E9CA 2AD44CE8 DBBBC2DB 04DE8EF9 2E8EFC14 1FBECAA6"
"287C5947 4E6BC05D 99B2964F A090C3A2 233BA186 515BE7ED"
"1F612970 CEE2D7AF B81BDD76 2170481C D0069127 D5B05AA9"
"93B4EA98 8D8FDDC1 86FFB7DC 90A6C08F 4DF435C9 34063199"
"FFFFFFFF FFFFFFFF"
Definition at line 1388 of file qca-ossl.cpp.
| const int opensslQCAPlugin::JCE_1024_COUNTER = 92 |
Definition at line 1420 of file qca-ossl.cpp.
| const char* opensslQCAPlugin::JCE_1024_SEED = "8D515589 4229D5E6 89EE01E6 018A237E 2CAE64CD" |
Definition at line 1419 of file qca-ossl.cpp.
| const int opensslQCAPlugin::JCE_512_COUNTER = 123 |
Definition at line 1414 of file qca-ossl.cpp.
| const char* opensslQCAPlugin::JCE_512_SEED = "B869C82B 35D70E1B 1FF91B28 E37A62EC DC34409B" |
Definition at line 1413 of file qca-ossl.cpp.
| const int opensslQCAPlugin::JCE_768_COUNTER = 263 |
Definition at line 1417 of file qca-ossl.cpp.
| const char* opensslQCAPlugin::JCE_768_SEED = "77D0F8C4 DAD15EB8 C4F2F8D6 726CEFD9 6D5BB399" |
Definition at line 1416 of file qca-ossl.cpp.
bool opensslQCAPlugin::ssl_init = false [static] |
Definition at line 5089 of file qca-ossl.cpp.
KDE 4.4 API Reference