public synchronized int hashCode() { if (!hashValueSet) { hashValue = super.hashCode(); hashValueSet = true; } return hashValue; }
@Override /** * {@inheritDoc} */ public int hashCode() { return internalCert.hashCode() ; }
@Override public int hashCode() { if (mHashCode != null) { return mHashCode; } mHashCode = super.hashCode(); return mHashCode; }
@Override public int hashCode() { return cert.hashCode(); }
public synchronized int hashCode() { if (!hashValueSet) { hashValue = super.hashCode(); hashValueSet = true; } return hashValue; }
@Override public int hashCode() { if (mHashCode != null) { return mHashCode; } mHashCode = super.hashCode(); return mHashCode; }
@Override public int hashCode() { return cert.hashCode(); }
@Override public int hashCode() { return x509Certificate.hashCode(); } }
@Override public int hashCode() { int result = content.hashCode(); result = 31 * result + certificate.hashCode(); result = 31 * result + (timestamp != null ? timestamp.hashCode() : 0); return result; }
@Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((certificate == null) ? 0 : certificate.hashCode()); result = prime * result + ((clientname == null) ? 0 : clientname.hashCode()); result = prime * result + ((name == null) ? 0 : name.hashCode()); result = prime * result + ((orgname == null) ? 0 : orgname.hashCode()); result = prime * result + ((privateKey == null) ? 0 : privateKey.hashCode()); result = prime * result + (validator ? 1231 : 1237); return result; }
@Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((certificate == null) ? 0 : certificate.hashCode()); result = prime * result + ((clientname == null) ? 0 : clientname.hashCode()); result = prime * result + ((name == null) ? 0 : name.hashCode()); result = prime * result + ((orgname == null) ? 0 : orgname.hashCode()); result = prime * result + ((privateKey == null) ? 0 : privateKey.hashCode()); result = prime * result + (validator ? 1231 : 1237); return result; }
@Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((certificate == null) ? 0 : certificate.hashCode()); result = prime * result + ((clientname == null) ? 0 : clientname.hashCode()); result = prime * result + ((name == null) ? 0 : name.hashCode()); result = prime * result + ((orgname == null) ? 0 : orgname.hashCode()); result = prime * result + ((privateKey == null) ? 0 : privateKey.hashCode()); result = prime * result + ((publicKey == null) ? 0 : publicKey.hashCode()); result = prime * result + (validator ? 1231 : 1237); return result; }
@Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((certificate == null) ? 0 : certificate.hashCode()); result = prime * result + ((clientname == null) ? 0 : clientname.hashCode()); result = prime * result + ((name == null) ? 0 : name.hashCode()); result = prime * result + ((orgname == null) ? 0 : orgname.hashCode()); result = prime * result + ((privateKey == null) ? 0 : privateKey.hashCode()); result = prime * result + ((publicKey == null) ? 0 : publicKey.hashCode()); result = prime * result + (validator ? 1231 : 1237); return result; }
@Override public int hashCode() { return getTrustedCert().hashCode(); } }
@Override public int hashCode() { return delegate().hashCode(); }
KeyEntry(final String alias, final X509Certificate[] chain) { this.certChain = chain.clone(); /* * The default alias for both entry types is derived from a hash * value intrinsic to the first certificate in the chain. */ if (alias == null) { this.alias = Integer.toString(this.certChain[0].hashCode()); } else { this.alias = alias; } }
public void checkServerTrusted(X509Certificate[] chain, String authType) throws CertificateException { for (int i = 0; i < chain.length; i++) { String descr = chain[i].toString(); int hash = chain[i].hashCode(); if (!this.validateCertificate(hash, descr)) { throw new CertificateException("Conflicting certificate found with hash " + Integer.toString(hash)); } } }
@Override public int hashCode() { int result = endpointUri.hashCode(); result = 31 * result + securityPolicy.hashCode(); result = 31 * result + messageSecurity.hashCode(); result = 31 * result + (certificate != null ? certificate.hashCode() : 0); result = 31 * result + (bindAddress != null ? bindAddress.hashCode() : 0); return result; }