• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/Security-55471.14.18/libsecurity_keychain/lib/

Lines Matching refs:oid

98 	DERAlgorithmId		_algId;			/* oid and params of _pubKeyDER. */
1421 certificate->_algId.oid. */
1634 const DERItem *oid) {
1636 if (oid->length == 0) {
1640 if (oid->length > MAX_OID_SIZE) {
1650 uint32_t x = oid->data[0] / 40;
1651 uint32_t y = oid->data[0] % 40;
1661 for (x = 1; x < oid->length; ++x)
1663 value = (value << 7) | (oid->data[x] & 0x7F);
1666 if (!(oid->data[x] & 0x80))
1676 const DERItem *oid) {
1677 if (oid->length == 0) {
1684 oid->length * 3 + 5);
1685 CFStringAppendFormat(oidKey, NULL, CFSTR("06 %02lX"), (unsigned long)oid->length);
1687 for (ix = 0; ix < oid->length; ++ix)
1688 CFStringAppendFormat(oidKey, NULL, CFSTR(" %02X"), oid->data[ix]);
1693 name = SecDERItemCopyOIDDecimalRepresentation(allocator, oid);
1728 const DERItem *oid) {
1729 CFStringRef decimal = SecDERItemCopyOIDDecimalRepresentation(allocator, oid);
1730 CFStringRef name = copyLocalizedOidDescription(allocator, oid);
2018 CFStringRef label, const DERItem *oid) {
2020 oid);
2030 appendOIDProperty(alg_props, CFSTR("Algorithm"), &algorithm->oid);
3681 algId.algorithm.Length = certificate->_tbsSigAlg.oid.length;
3682 algId.algorithm.Data = certificate->_tbsSigAlg.oid.data;
3736 if (DEROidCompare(&certificate->_tbsSigAlg.oid, &oidSha1Rsa)) {
3739 } else if(DEROidCompare(&certificate->_tbsSigAlg.oid, &oidMd5Rsa)) {
3742 } else if(DEROidCompare(&certificate->_tbsSigAlg.oid, &oidMd2Rsa)) {
4280 CFStringRef label, oid = NULL;
4307 label = oid = SecDERItemCopyOIDDecimalRepresentation(kCFAllocatorDefault, type);
4313 if (!oid)
4349 CFReleaseSafe(oid);
4438 if (DEROidCompare(&algId->oid, &oidRsa)) {
4442 secdebug("cert", "Unsupported algorithm oid");
4659 CFDataRef oid = CFDataCreate(kCFAllocatorDefault,
4661 if (oid) {
4662 CFArrayAppendValue(extended_key_usage_oids, oid);
4663 CFRelease(oid);