Home | History | Annotate | Download | only in pkcs12

Lines Matching defs:NULL

139     static final int NULL = 0;
269 if (tab.get(a) == null)
281 return (certs.get(alias) != null || keys.get(alias) != null);
297 if (c != null)
302 if (k != null)
305 if (id != null)
309 if (c != null)
322 if (alias == null)
324 throw new IllegalArgumentException("null alias passed to getCertificate.");
332 if (c == null)
335 if (id != null)
379 return null;
385 if (alias == null)
387 throw new IllegalArgumentException("null alias passed to getCertificateChain.");
392 return null;
397 if (c != null)
401 while (c != null)
404 Certificate nextC = null;
407 if (bytes != null)
417 if (id.getKeyIdentifier() != null)
429 if (nextC == null)
464 c = null; // we've got a certificate chain loop time to stop
475 c = null;
490 return null;
495 if (alias == null)
497 throw new NullPointerException("alias == null");
499 if (keys.get(alias) == null && certs.get(alias) == null)
501 return null;
511 if (alias == null)
513 throw new IllegalArgumentException("null alias passed to getKey.");
522 return (certs.get(alias) != null && keys.get(alias) == null);
528 return (keys.get(alias) != null);
536 if (keys.get(alias) != null
566 if ((key instanceof PrivateKey) && (chain == null))
571 if (keys.get(alias) != null)
577 if (chain != null)
602 if (tab.get(a) == null)
780 if (stream == null) // just initialising
785 if (password == null)
820 if (bag.getMacData() != null) // check the mac code
892 String alias = null;
893 ASN1OctetString localId = null;
895 if (b.getBagAttributes() != null)
903 ASN1Primitive attr = null;
913 if (existing != null)
941 if (localId != null)
945 if (alias == null)
995 String alias = null;
996 ASN1OctetString localId = null;
1004 ASN1Primitive attr = null;
1011 if (existing != null)
1039 if (alias == null)
1057 String alias = null;
1058 ASN1OctetString localId = null;
1066 ASN1Primitive attr = null;
1073 if (existing != null)
1101 if (alias == null)
1155 ASN1OctetString localId = null;
1156 String alias = null;
1158 if (b.getBagAttributes() != null)
1170 PKCS12BagAttributeCarrier bagAttr = null;
1177 if (existing != null)
1221 if (localId != null)
1227 if (alias != null)
1245 if (maxValue != null)
1260 if (param == null)
1262 throw new IllegalArgumentException("'param' arg cannot be null");
1285 if (protParam == null)
1287 password = null;
1311 if (password == null)
1345 if (nm == null || !nm.getString().equals(name))
1353 if (bagAttrs.getBagAttribute(pkcs_9_at_localKeyId) == null)
1436 if (nm == null || !nm.getString().equals(name))
1444 if (bagAttrs.getBagAttribute(pkcs_9_at_localKeyId) == null)
1501 if (keys.get(certId) != null)
1518 if (nm == null || !nm.getString().equals(certId))
1585 if (doneCerts.get(cert) != null)
1796 String lower = (key == null) ? null : Strings.toLowerCase(key);
1798 if (k != null)
1814 String k = (String)keys.remove(alias == null ? null : Strings.toLowerCase(alias));
1815 if (k == null)
1817 return null;
1825 String k = (String)keys.get(alias == null ? null : Strings.toLowerCase(alias));
1826 if (k == null)
1828 return null;
1874 if (keySize != null)