Lines Matching refs:keyid
166 * keyid - If private key localkeyids friendlynames are to match a
169 * keyid_len- Length of the keyid byte string.
177 * Match based on the value of 'matchty' and the contents of 'keyid'
185 * 'keyid'.
208 sunw_PKCS12_parse(PKCS12 *p12, const char *pass, int matchty, char *keyid,
264 retval = parse_pkcs12(p12, pass, matchty, keyid, keyid_len,
295 * keyid - If private key localkeyids friendlynames are to match a
298 * keyid_len- Length of the keyid byte string.
319 parse_pkcs12(PKCS12 *p12, const char *pass, int matchty, char *keyid,
355 if (keyid == NULL) {
362 retval = sunw_find_localkeyid(keyid, kstr_len,
646 ASN1_TYPE *keyid = NULL;
655 keyid = PKCS12_get_attr(bag, NID_localKeyID);
697 if (keyid != NULL) {
698 if (keyid->type != V_ASN1_OCTET_STRING) {
705 keyid->value.octet_string->data,
706 keyid->value.octet_string->length) == 0) {
751 if (keyid != NULL)
752 ASN1_TYPE_free(keyid);
764 if (keyid != NULL)
765 ASN1_TYPE_free(keyid);
774 if (retval != 0 && (keyid != NULL || fname != NULL) &&
784 if (retval != 0 && keyid != NULL) {
785 attr = type2attrib(keyid, NID_localKeyID);
792 keyid = NULL;
843 if (keyid != NULL)
844 ASN1_TYPE_free(keyid);