Home
last modified time | relevance | path

Searched refs:keyIDtype (Results 1 – 25 of 40) sorted by relevance

12

/dports/security/cryptlib/cryptlib-3.4.3/keyset/
H A Ddbx_rd.c48 keyIDtype == CRYPT_KEYID_NONE ) || \ in CHECK_RETVAL_ENUM()
49 ( keyIDtype > CRYPT_KEYID_NONE && \ in CHECK_RETVAL_ENUM()
60 switch( keyIDtype ) in CHECK_RETVAL_ENUM()
224 REQUIRES( keyIDtype > CRYPT_KEYID_NONE && keyIDtype < CRYPT_KEYID_LAST ); in checkObjectIDMatch()
235 keyIDtype == CRYPT_IKEYID_KEYID ) in checkObjectIDMatch()
251 keyIDtype == CRYPT_IKEYID_KEYID ) in checkObjectIDMatch()
347 keyIDtype > CRYPT_KEYID_NONE && \ in getItemData()
348 keyIDtype < CRYPT_KEYID_LAST && \ in getItemData()
384 keyIDtype == CRYPT_IKEYID_CERTID ) in getItemData()
575 keyIDtype < CRYPT_KEYID_LAST ); in getFirstItemFunction()
[all …]
H A Dpkcs15_get.c269 keyIDtype == CRYPT_KEYID_URI || \ in getItemFunction()
270 keyIDtype == CRYPT_IKEYID_KEYID || \ in getItemFunction()
271 keyIDtype == CRYPT_IKEYID_PGPKEYID || \ in getItemFunction()
272 keyIDtype == CRYPT_IKEYID_ISSUERID ); in getItemFunction()
344 keyIDtype, keyID, keyIDlength, in getItemFunction()
525 keyIDtype == CRYPT_KEYID_URI || \ in getItem()
526 keyIDtype == CRYPT_IKEYID_KEYID || \ in getItem()
529 keyIDtype == CRYPT_IKEYID_ISSUERID ); in getItem()
657 keyIDtype == CRYPT_KEYID_URI || \ in getFirstItemFunction()
658 keyIDtype == CRYPT_IKEYID_KEYID || \ in getFirstItemFunction()
[all …]
H A Dhttp.c35 static const char *getKeyName( IN_KEYID const CRYPT_KEYID_TYPE keyIDtype ) in getKeyName() argument
37 REQUIRES_N( keyIDtype > CRYPT_KEYID_NONE && \ in getKeyName()
38 keyIDtype < CRYPT_KEYID_LAST ); in getKeyName()
40 switch( keyIDtype ) in getKeyName()
75 IN_KEYID const CRYPT_KEYID_TYPE keyIDtype, in getItemFunction() argument
96 REQUIRES( keyIDtype == CRYPT_KEYID_NAME || keyIDtype == CRYPT_KEYID_URI ); in getItemFunction()
129 const char *keyName = getKeyName( keyIDtype ); in getItemFunction()
185 status = iCryptVerifyID( createInfo.cryptHandle, keyIDtype, keyID, in getItemFunction()
193 "correspond to the given ID", keyIDtype ) ); in getItemFunction()
H A Ddbx_misc.c320 keyIDtype == CRYPT_IATTRIBUTE_AUTHCERTID ) || \
322 keyIDtype == CRYPT_IATTRIBUTE_ISSUER || \
323 keyIDtype == CRYPT_IATTRIBUTE_SUBJECT || \
325 keyIDtype == CRYPT_IATTRIBUTE_SPKI ) );
333 if( keyIDtype == CRYPT_CERTINFO_FINGERPRINT_SHA1 || \
334 keyIDtype == CRYPT_IATTRIBUTE_AUTHCERTID )
340 &msgData, keyIDtype );
352 status = dynCreate( &idDB, iCryptHandle, keyIDtype );
541 REQUIRES_N( keyIDtype > CRYPT_KEYID_NONE && \ in getKeyName()
542 keyIDtype < CRYPT_KEYID_LAST ); in getKeyName()
[all …]
H A Dpgp.c324 CONST_SET_STRUCT( keyMatchInfo.keyIDtype = keyIDtype; \ in findEntry()
335 REQUIRES_N( keyIDtype == CRYPT_KEYID_NAME || \ in findEntry()
336 keyIDtype == CRYPT_KEYID_URI || \ in findEntry()
337 keyIDtype == CRYPT_IKEYID_KEYID || \ in findEntry()
338 keyIDtype == CRYPT_IKEYID_PGPKEYID ); in findEntry()
420 REQUIRES( keyIDtype == CRYPT_KEYID_NAME || \ in getItemFunction()
421 keyIDtype == CRYPT_KEYID_URI || \ in getItemFunction()
422 keyIDtype == CRYPT_IKEYID_KEYID || \ in getItemFunction()
423 keyIDtype == CRYPT_IKEYID_PGPKEYID ); in getItemFunction()
446 keyIDtype, keyID, keyIDlength, flags, in getItemFunction()
[all …]
H A Dpkcs15.c201 IN_KEYID_OPT const CRYPT_KEYID_TYPE keyIDtype, in findEntry() argument
217 REQUIRES_N( keyIDtype == CRYPT_KEYID_NAME || \ in findEntry()
218 keyIDtype == CRYPT_KEYID_URI || \ in findEntry()
219 keyIDtype == CRYPT_IKEYID_KEYID || \ in findEntry()
220 keyIDtype == CRYPT_IKEYID_PGPKEYID || \ in findEntry()
221 keyIDtype == CRYPT_IKEYID_SUBJECTID || \ in findEntry()
222 keyIDtype == CRYPT_IKEYID_ISSUERID || \ in findEntry()
223 keyIDtype == CRYPT_KEYIDEX_ID ); in findEntry()
283 switch( keyIDtype ) in findEntry()
342 if( keyIDtype == CRYPT_IKEYID_PGPKEYID ) in findEntry()
H A Dpkcs12_rd.c938 IN_KEYID const CRYPT_KEYID_TYPE keyIDtype, in getItemFunction() argument
964 REQUIRES( keyIDtype == CRYPT_KEYID_NAME || \ in getItemFunction()
965 keyIDtype == CRYPT_KEYID_URI || \ in getItemFunction()
966 keyIDtype == CRYPT_IKEYID_KEYID || \ in getItemFunction()
967 keyIDtype == CRYPT_IKEYID_PGPKEYID || \ in getItemFunction()
968 keyIDtype == CRYPT_IKEYID_ISSUERID ); in getItemFunction()
994 if( keyIDtype == CRYPT_IKEYID_KEYID || \ in getItemFunction()
995 keyIDtype == CRYPT_IKEYID_PGPKEYID || \ in getItemFunction()
996 keyIDtype == CRYPT_IKEYID_ISSUERID || \ in getItemFunction()
1009 keyIDtype, keyID, keyIDlength, in getItemFunction()
[all …]
H A Dpkcs15_set.c556 IN_KEYID const CRYPT_KEYID_TYPE keyIDtype, in deleteItemFunction() argument
569 REQUIRES( keyIDtype == CRYPT_KEYID_NAME || \ in deleteItemFunction()
570 keyIDtype == CRYPT_KEYID_URI || \ in deleteItemFunction()
571 keyIDtype == CRYPT_IKEYID_KEYID || \ in deleteItemFunction()
572 keyIDtype == CRYPT_IKEYID_ISSUERID ); in deleteItemFunction()
579 keysetInfoPtr->keyDataNoObjects, keyIDtype, in deleteItemFunction()
H A Dpkcs15_getp.c111 IN_KEYID const CRYPT_KEYID_TYPE keyIDtype, in readPublicKeyComponents() argument
135 REQUIRES( keyIDtype == CRYPT_KEYID_NAME || \ in readPublicKeyComponents()
136 keyIDtype == CRYPT_KEYID_URI || \ in readPublicKeyComponents()
137 keyIDtype == CRYPT_IKEYID_KEYID || \ in readPublicKeyComponents()
138 keyIDtype == CRYPT_IKEYID_PGPKEYID || \ in readPublicKeyComponents()
139 keyIDtype == CRYPT_IKEYID_ISSUERID ); in readPublicKeyComponents()
165 iCryptKeysetCallback, keyIDtype, keyID, in readPublicKeyComponents()
H A Dca_add.c272 IN_KEYID const CRYPT_KEYID_TYPE keyIDtype, in caDeletePKIUser() argument
285 REQUIRES( keyIDtype == CRYPT_KEYID_NAME || \ in caDeletePKIUser()
286 keyIDtype == CRYPT_KEYID_URI ); in caDeletePKIUser()
293 KEYMGMT_ITEM_PKIUSER, keyIDtype, in caDeletePKIUser()
H A Ddbx_wr.c773 IN_KEYID const CRYPT_KEYID_TYPE keyIDtype, in deleteItemFunction() argument
781 const char *keyName = getKeyName( keyIDtype ); in deleteItemFunction()
795 REQUIRES( keyIDtype > CRYPT_KEYID_NONE && \ in deleteItemFunction()
796 keyIDtype < CRYPT_KEYID_LAST ); in deleteItemFunction()
802 &encodedKeyIDlength, keyIDtype, keyID, keyIDlength ); in deleteItemFunction()
816 return( caDeletePKIUser( dbmsInfo, keyIDtype, keyID, keyIDlength, in deleteItemFunction()
H A Dldap.c765 IN_KEYID const CRYPT_KEYID_TYPE keyIDtype, in getItemFunction() argument
786 REQUIRES( keyIDtype != CRYPT_KEYID_NONE || iCryptHandle != NULL ); in getItemFunction()
839 status = iCryptVerifyID( createInfo.cryptHandle, keyIDtype, in getItemFunction()
1165 IN_KEYID const CRYPT_KEYID_TYPE keyIDtype, in deleteItemFunction() argument
1178 REQUIRES( keyIDtype == CRYPT_KEYID_NAME || keyIDtype == CRYPT_KEYID_URI ); in deleteItemFunction()
1213 IN_KEYID const CRYPT_KEYID_TYPE keyIDtype,
1225 REQUIRES( keyIDtype != CRYPT_KEYID_NONE );
H A Ddbms.h472 IN_ENUM_OPT( CRYPT_KEYID ) const CRYPT_KEYID_TYPE keyIDtype,
506 IN_ATTRIBUTE const CRYPT_ATTRIBUTE_TYPE keyIDtype );
529 char *getKeyName( IN_ENUM( CRYPT_KEYID ) const CRYPT_KEYID_TYPE keyIDtype );
550 IN_ENUM( CRYPT_KEYID ) const CRYPT_KEYID_TYPE keyIDtype,
/dports/security/cryptlib/cryptlib-3.4.3/device/
H A Dpkcs11_rd.c1006 keyIDtype == CRYPT_KEYID_URI || \ in matchID()
1009 keyIDtype == CRYPT_KEYID_NONE ); in matchID()
1014 switch( keyIDtype ) in matchID()
1104 keyIDtype == CRYPT_KEYID_URI || \ in searchDeviceObjects()
1107 keyIDtype == CRYPT_KEYID_NONE ); in searchDeviceObjects()
1235 keyIDtype == CRYPT_KEYID_URI || \ in findCert()
1249 switch( keyIDtype ) in findCert()
1359 keyIDtype == CRYPT_KEYID_URI || \ in findPubPrivKey()
1371 if( keyIDtype == CRYPT_IKEYID_KEYID ) in findPubPrivKey()
1380 if( keyIDtype == CRYPT_KEYID_NAME ) in findPubPrivKey()
[all …]
H A Dhardware.c453 const CRYPT_KEYID_TYPE keyIDtype, in getItemFunction() argument
479 REQUIRES( keyIDtype == CRYPT_KEYID_NAME || \ in getItemFunction()
480 keyIDtype == CRYPT_KEYID_URI || \ in getItemFunction()
481 keyIDtype == CRYPT_IKEYID_KEYID || \ in getItemFunction()
482 keyIDtype == CRYPT_IKEYID_PGPKEYID || \ in getItemFunction()
483 keyIDtype == CRYPT_IKEYID_ISSUERANDSERIALNUMBER ); in getItemFunction()
494 setMessageKeymgmtInfo( &getkeyInfo, keyIDtype, keyID, keyIDlength, in getItemFunction()
716 const CRYPT_KEYID_TYPE keyIDtype, in deleteItemFunction() argument
728 REQUIRES( keyIDtype == CRYPT_KEYID_NAME ); in deleteItemFunction()
776 const CRYPT_KEYID_TYPE keyIDtype, in getFirstItemFunction() argument
[all …]
H A Ddevice.h179 IN_KEYID const CRYPT_KEYID_TYPE keyIDtype,
196 const CRYPT_KEYID_TYPE keyIDtype,
207 const CRYPT_KEYID_TYPE keyIDtype,
/dports/security/cryptlib/cryptlib-3.4.3/cert/
H A Dchain.c565 if( keyIDtype == CRYPT_IKEYID_KEYID ) in IN_ARRAY()
796 assert( ( keyIDtype == CRYPT_KEYID_NONE && \
798 ( ( keyIDtype == CRYPT_IKEYID_KEYID || \
805 ( ( keyIDtype == CRYPT_IKEYID_KEYID || \
815 ( keyIDtype != CRYPT_KEYID_NONE && \
817 ( keyIDtype == CRYPT_KEYID_NONE && \
1280 ( ( keyIDtype == CRYPT_IKEYID_KEYID || \ in readCertChain()
1302 ( keyIDtype != CRYPT_KEYID_NONE && \ in readCertChain()
1304 ( keyIDtype == CRYPT_KEYID_NONE && \ in readCertChain()
1422 REQUIRES( keyIDtype > CRYPT_KEYID_NONE && \ in assembleCertChain()
[all …]
H A Dimp_exp.c261 IN_KEYID_OPT const CRYPT_KEYID_TYPE keyIDtype, in importCert() argument
279 assert( ( keyIDtype == CRYPT_KEYID_NONE && \ in importCert()
281 ( keyIDtype != CRYPT_KEYID_NONE && \ in importCert()
289 REQUIRES( ( keyIDtype == CRYPT_KEYID_NONE && \ in importCert()
291 ( ( keyIDtype > CRYPT_KEYID_NONE && \ in importCert()
292 keyIDtype < CRYPT_KEYID_LAST ) && \ in importCert()
298 REQUIRES( ( keyIDtype == CRYPT_KEYID_NONE && \ in importCert()
300 ( keyIDtype != CRYPT_KEYID_NONE && \ in importCert()
302 ( keyIDtype == CRYPT_KEYID_NONE && \ in importCert()
418 keyIDtype, keyID, keyIDlength, options ); in importCert()
[all …]
/dports/security/cryptlib/cryptlib-3.4.3/kernel/
H A Dkey_acl.c570 ( mechanismInfo->keyIDtype == CRYPT_IKEYID_KEYID ) ? \ in preDispatchCheckKeysetAccess()
578 if( mechanismInfo->keyIDtype <= CRYPT_KEYID_NONE || \ in preDispatchCheckKeysetAccess()
579 mechanismInfo->keyIDtype >= CRYPT_KEYID_LAST ) in preDispatchCheckKeysetAccess()
582 mechanismInfo->keyIDtype >= CRYPT_KEYID_LAST_EXTERNAL ) in preDispatchCheckKeysetAccess()
607 "type %d", mechanismInfo->keyIDtype )); in preDispatchCheckKeysetAccess()
619 if( idTypeACL[ index ].idType == mechanismInfo->keyIDtype ) in preDispatchCheckKeysetAccess()
634 "type %d", mechanismInfo->keyIDtype )); in preDispatchCheckKeysetAccess()
704 mechanismInfo->keyIDtype != CRYPT_KEYID_NONE && \ in preDispatchCheckKeysetAccess()
708 mechanismInfo->keyIDtype == CRYPT_KEYID_NONE && \ in preDispatchCheckKeysetAccess()
727 mechanismInfo->keyIDtype != CRYPT_KEYID_NONE && \ in preDispatchCheckKeysetAccess()
[all …]
/dports/security/cryptlib/cryptlib-3.4.3/
H A Dcryptkey.c48 CRYPT_KEYID_TYPE keyIDtype; /* KeyID type */ member
146 keyIDinfo->keyIDtype = CRYPT_IKEYID_ISSUERID; in initKeysetUpdate()
859 getkeyInfo->keyIDtype, getkeyInfo->keyID, \ in keysetMessageFunction()
863 CONST_SET_STRUCT( keyIDinfo.keyIDtype = getkeyInfo->keyIDtype; \ in keysetMessageFunction()
867 REQUIRES( keyIDinfo.keyIDtype != CRYPT_KEYID_NONE && \ in keysetMessageFunction()
895 messageValue, keyIDinfo.keyIDtype, in keysetMessageFunction()
974 CONST_SET_STRUCT( keyIDinfo.keyIDtype = deletekeyInfo->keyIDtype; \ in keysetMessageFunction()
978 REQUIRES( keyIDinfo.keyIDtype != CRYPT_KEYID_NONE && \ in keysetMessageFunction()
991 keyIDinfo.keyIDtype, keyIDinfo.keyID, in keysetMessageFunction()
1012 CONST_SET_STRUCT( keyIDinfo.keyIDtype = getnextcertInfo->keyIDtype; \ in keysetMessageFunction()
[all …]
H A Dcryptapi.c3067 C_IN CRYPT_KEYID_TYPE keyIDtype, in cryptCAGetItem() argument
3103 if( keyIDtype < CRYPT_KEYID_NONE || \ in cryptCAGetItem()
3106 if( keyIDtype == CRYPT_KEYID_NONE ) in cryptCAGetItem()
3159 cmd.arg[ 2 ] = keyIDtype; in cryptCAGetItem()
3221 cmd.arg[ 1 ] = keyIDtype; in cryptCADeleteItem()
3450 if( keyIDtype < CRYPT_KEYID_NONE || \ in cryptGetPublicKey()
3453 if( keyIDtype == CRYPT_KEYID_NONE ) in cryptGetPublicKey()
3489 cmd.arg[ 2 ] = keyIDtype; in cryptGetPublicKey()
3571 cmd.arg[ 2 ] = keyIDtype; in cryptGetPrivateKey()
3658 cmd.arg[ 2 ] = keyIDtype; in cryptGetKey()
[all …]
H A Dcryptcrt.c525 const CRYPT_KEYID_TYPE keyIDtype, in iCryptImportCertIndirect()
534 REQUIRES( keyIDtype > CRYPT_KEYID_NONE && keyIDtype < CRYPT_KEYID_LAST ); in iCryptImportCertIndirect()
544 return( assembleCertChain( iCertificate, iCertSource, keyIDtype, in iCryptImportCertIndirect()
562 IN_ENUM( CRYPT_KEYID ) const CRYPT_KEYID_TYPE keyIDtype, in iCryptVerifyID()
573 REQUIRES( keyIDtype > CRYPT_KEYID_NONE && keyIDtype < CRYPT_KEYID_LAST ); in iCryptVerifyID()
577 switch( keyIDtype ) in iCryptVerifyID()
634 ( keyIDtype == CRYPT_IKEYID_SUBJECTID ) ? \ in iCryptVerifyID()
669 if( keyIDtype == CRYPT_IKEYID_PGPKEYID ) in iCryptVerifyID()
678 "correspond to the given ID", keyIDtype )); in iCryptVerifyID()
/dports/security/cryptlib/cryptlib-3.4.3/bindings/
H A Dcryptlib.cs1868 int keyIDtype, // CRYPT_KEYID_TYPE in GetPublicKey() argument
1879 processStatus(wrapped_GetPublicKey(keyset, cryptContextPtr, keyIDtype, keyIDPtr)); in GetPublicKey()
1891 int keyIDtype, // CRYPT_KEYID_TYPE in GetPrivateKey() argument
1920 int keyIDtype, // CRYPT_KEYID_TYPE in GetKey() argument
1979 int keyIDtype, // CRYPT_KEYID_TYPE in DeleteKey() argument
1989 processStatus(wrapped_DeleteKey(keyset, keyIDtype, keyIDPtr)); in DeleteKey()
2229 int keyIDtype, // CRYPT_KEYID_TYPE in CAGetItem() argument
2240 processStatus(wrapped_CAGetItem(keyset, certificatePtr, certType, keyIDtype, keyIDPtr)); in CAGetItem()
2253 int keyIDtype, // CRYPT_KEYID_TYPE in CADeleteItem() argument
2263 processStatus(wrapped_CADeleteItem(keyset, certType, keyIDtype, keyIDPtr)); in CADeleteItem()
[all …]
H A Dcryptlib.bas1872 ByVal keyIDtype As CRYPT_KEYID_TYPE, _
1877 ByVal keyIDtype As CRYPT_KEYID_TYPE, _
1883 ByVal keyIDtype As CRYPT_KEYID_TYPE, _
1898 ByVal keyIDtype As CRYPT_KEYID_TYPE, _
1971 ByVal keyIDtype As CRYPT_KEYID_TYPE, _
1976 ByVal keyIDtype As CRYPT_KEYID_TYPE, _
/dports/security/cryptlib/cryptlib-3.4.3/session/
H A Dcertstore.c231 int keyIDtype, keyIDLen, status; in serverTransact() local
258 &keyIDtype, keyID, CRYPT_MAX_TEXTSIZE, in serverTransact()
272 setMessageKeymgmtInfo( &getkeyInfo, keyIDtype, keyID, keyIDLen, in serverTransact()

12