Lines Matching refs:keyId

237         byte[] keyId;
261 CertEntry(X509Certificate cert, byte[] keyId, String alias) {
262 this(cert, keyId, alias, null, null);
265 CertEntry(X509Certificate cert, byte[] keyId, String alias,
270 this.keyId = keyId;
656 // set the keyId to current date
657 entry.keyId = ("Time " + (entry.date).getTime()).getBytes("UTF8");
717 // set the keyId to current date
718 entry.keyId = ("Time " + (entry.date).getTime()).getBytes("UTF8");
1418 byte[] keyIdValue = entry.keyId;
1572 private byte[] getBagAttributes(String alias, byte[] keyId,
1574 return getBagAttributes(alias, keyId, null, attributes);
1577 private byte[] getBagAttributes(String alias, byte[] keyId,
1586 if ((alias == null) && (keyId == null) && (trustedKeyUsage == null)) {
1606 if (keyId != null) {
1611 bagAttrContent2.putOctetString(keyId);
1727 getBagAttributes(keyEntry.alias, keyEntry.keyId,
1732 getBagAttributes(certEntry.alias, certEntry.keyId,
1851 getBagAttributes(alias, entry.keyId, entry.attributes);
2108 if (entry.keyId != null) {
2172 if (Arrays.equals(entry.keyId, ce.keyId)) {
2182 // keyId match first, for compatibility
2263 byte[] keyId = null;
2285 keyId = valSet[0].getOctetString();
2299 * As per PKCS12 v1.0 friendlyname (alias) and localKeyId (keyId)
2302 * Unfriendlyname in the alias, if alias is null. The keyId
2305 * null keyId, we should skip it entirely.
2311 if (keyId == null) {
2317 keyId = "01".getBytes("UTF8");
2323 entry.keyId = keyId;
2325 String keyIdStr = new String(keyId, "UTF8");
2359 if ((keyId == null) && (privateKeyCount == 1)) {
2362 keyId = "01".getBytes("UTF8");
2371 new CertEntry(cert, keyId, alias, trustedKeyUsage,
2375 certEntries.add(new CertEntry(cert, keyId, alias));