Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
   package org.bouncycastle.jce;
   
   
An expanded set of parameters for an LDAPCertStore
  
      implements X509StoreParametersCertStoreParameters
  {
  
      private String ldapURL;
  
      private String baseDN;
  
      // LDAP attributes, where data is stored
  
      private String userCertificateAttribute;
  
      private String cACertificateAttribute;
  
      private String crossCertificateAttribute;
  
  
      private String deltaRevocationListAttribute;
  
  
  
      private String aACertificateAttribute;
  
  
  
  
      // LDAP attributes with which data can be found
  
  
  
  
  
  
  
  
  
  
  
  
      // certificates and CRLs subject or issuer DN attributes, which must be
      // matched against ldap attribute names
  
  
  
  
  
  
  
  
  
  
  
  
      private String searchForSerialNumberIn;
  
      public static class Builder
      {
          private String ldapURL;
  
          private String baseDN;
  
         // LDAP attributes, where data is stored
 
         private String userCertificateAttribute;
 
         private String cACertificateAttribute;
 
         private String crossCertificateAttribute;
 
         private String certificateRevocationListAttribute;
 
         private String deltaRevocationListAttribute;
 
         private String authorityRevocationListAttribute;
 
 
         private String aACertificateAttribute;
 
 
 
 
         // LDAP attributes with which data can be found
 
         private String ldapUserCertificateAttributeName;
 
         private String ldapCACertificateAttributeName;
 
         private String ldapCrossCertificateAttributeName;
 
 
         private String ldapDeltaRevocationListAttributeName;
 
 
 
         private String ldapAACertificateAttributeName;
 
 
 
 
         // certificates and CRLs subject or issuer DN attributes, which must be
         // matched against ldap attribute names
 
         private String userCertificateSubjectAttributeName;
 
         private String cACertificateSubjectAttributeName;
 
         private String crossCertificateSubjectAttributeName;
 
 
 
 
 
         private String aACertificateSubjectAttributeName;
 
 
 
 
         private String searchForSerialNumberIn;
 
         public Builder()
         {
             this("ldap://localhost:389""");
         }
 
         public Builder(String ldapURLString baseDN)
         {
             this. = ldapURL;
             if (baseDN == null)
             {
                 this. = "";
             }
             else
             {
                 this. = baseDN;
             }
 
             this. = "userCertificate";
             this. = "cACertificate";
             this. = "crossCertificatePair";
             this. = "certificateRevocationList";
             this. = "deltaRevocationList";
             this. = "authorityRevocationList";
             this. = "attributeCertificateAttribute";
             this. = "aACertificate";
             this. = "attributeDescriptorCertificate";
             this. = "attributeCertificateRevocationList";
             this. = "attributeAuthorityRevocationList";
             this. = "cn";
             this. = "cn ou o";
             this. = "cn ou o";
             this. = "cn ou o";
             this. = "cn ou o";
             this. = "cn ou o";
             this. = "cn";
             this. = "cn o ou";
             this. = "cn o ou";
             this. = "cn o ou";
             this. = "cn o ou";
             this. = "cn";
             this. = "o ou";
             this. = "o ou";
             this. = "o ou";
             this. = "o ou";
             this. = "o ou";
             this. = "cn";
             this. = "o ou";
             this. = "o ou";
             this. = "o ou";
             this. = "o ou";
             this. = "uid serialNumber cn";
         }

        

Parameters:
userCertificateAttribute Attribute name(s) in the LDAP directory where end certificates are stored. Separated by space. Defaults to "userCertificate" if null.
Returns:
the builder
Throws:
java.lang.IllegalArgumentException if a necessary parameter is null.
 
         public Builder setUserCertificateAttribute(String userCertificateAttribute)
         {
             this. = userCertificateAttribute;
 
             return this;
         }

        

Parameters:
cACertificateAttribute Attribute name(s) in the LDAP directory where CA certificates are stored. Separated by space. Defaults to "cACertificate" if null.
Returns:
the builder
Throws:
java.lang.IllegalArgumentException if a necessary parameter is null.
 
         public Builder setCACertificateAttribute(String cACertificateAttribute)
         {
             this. = cACertificateAttribute;
 
             return this;
         }

        

Parameters:
crossCertificateAttribute Attribute name(s), where the cross certificates are stored. Separated by space. Defaults to "crossCertificatePair" if null
Returns:
the builder
Throws:
java.lang.IllegalArgumentException if a necessary parameter is null.
 
         public Builder setCrossCertificateAttribute(String crossCertificateAttribute)
         {
             this. = crossCertificateAttribute;
 
             return this;
         }

        

Parameters:
certificateRevocationListAttribute Attribute name(s) in the LDAP directory where CRLs are stored. Separated by space. Defaults to "certificateRevocationList" if null.
Returns:
the builder
Throws:
java.lang.IllegalArgumentException if a necessary parameter is null.
 
         public Builder setCertificateRevocationListAttribute(String certificateRevocationListAttribute)
         {
             this. = certificateRevocationListAttribute;
 
             return this;
         }

        

Parameters:
deltaRevocationListAttribute Attribute name(s) in the LDAP directory where delta RLs are stored. Separated by space. Defaults to "deltaRevocationList" if null.
Returns:
the builder
Throws:
java.lang.IllegalArgumentException if a necessary parameter is null.
 
         public Builder setDeltaRevocationListAttribute(String deltaRevocationListAttribute)
         {
             this. = deltaRevocationListAttribute;
 
             return this;
         }

        

Parameters:
authorityRevocationListAttribute Attribute name(s) in the LDAP directory where CRLs for authorities are stored. Separated by space. Defaults to "authorityRevocationList" if null.
Returns:
the builder
Throws:
java.lang.IllegalArgumentException if a necessary parameter is null.
 
         public Builder setAuthorityRevocationListAttribute(String authorityRevocationListAttribute)
         {
             this. = authorityRevocationListAttribute;
 
             return this;
         }

        

Parameters:
attributeCertificateAttributeAttribute Attribute name(s) in the LDAP directory where end attribute certificates are stored. Separated by space. Defaults to "attributeCertificateAttribute" if null.
Returns:
the builder
Throws:
java.lang.IllegalArgumentException if a necessary parameter is null.
 
         public Builder setAttributeCertificateAttributeAttribute(String attributeCertificateAttributeAttribute)
         {
             this. = attributeCertificateAttributeAttribute;
 
             return this;
         }

        

Parameters:
aACertificateAttribute Attribute name(s) in the LDAP directory where attribute certificates for attribute authorities are stored. Separated by space. Defaults to "aACertificate" if null.
Returns:
the builder
Throws:
java.lang.IllegalArgumentException if a necessary parameter is null.
 
         public Builder setAACertificateAttribute(String aACertificateAttribute)
         {
             this. = aACertificateAttribute;
 
             return this;
         }

        

Parameters:
attributeDescriptorCertificateAttribute Attribute name(s) in the LDAP directory where self signed attribute certificates for attribute authorities are stored. Separated by space. Defaults to "attributeDescriptorCertificate" if null.
Returns:
the builder
Throws:
java.lang.IllegalArgumentException if a necessary parameter is null.
 
         public Builder setAttributeDescriptorCertificateAttribute(String attributeDescriptorCertificateAttribute)
         {
             this. = attributeDescriptorCertificateAttribute;
 
             return this;
         }

        

Parameters:
attributeCertificateRevocationListAttribute Attribute name(s) in the LDAP directory where CRLs for attribute certificates are stored. Separated by space. Defaults to "attributeCertificateRevocationList" if null.
Returns:
the builder
Throws:
java.lang.IllegalArgumentException if a necessary parameter is null.
 
         public Builder setAttributeCertificateRevocationListAttribute(String attributeCertificateRevocationListAttribute)
         {
             this. = attributeCertificateRevocationListAttribute;
 
             return this;
         }

        

Parameters:
attributeAuthorityRevocationListAttribute Attribute name(s) in the LDAP directory where RLs for attribute authority attribute certificates are stored. Separated by space. Defaults to "attributeAuthorityRevocationList" if null.
Returns:
the builder
Throws:
java.lang.IllegalArgumentException if a necessary parameter is null.
 
         public Builder setAttributeAuthorityRevocationListAttribute(String attributeAuthorityRevocationListAttribute)
         {
             this. = attributeAuthorityRevocationListAttribute;
 
             return this;
         }

        

Parameters:
ldapUserCertificateAttributeName The attribute name(s) in the LDAP directory where to search for the attribute value of the specified userCertificateSubjectAttributeName. E.g. if "cn" is used to put information about the subject for end certificates, then specify "cn".
Returns:
the builder
Throws:
java.lang.IllegalArgumentException if a necessary parameter is null.
 
         public Builder setLdapUserCertificateAttributeName(String ldapUserCertificateAttributeName)
         {
             this. = ldapUserCertificateAttributeName;
 
             return this;
         }

        

Parameters:
ldapCACertificateAttributeName The attribute name(s) in the LDAP directory where to search for the attribute value of the specified cACertificateSubjectAttributeName. E.g. if "ou" is used to put information about the subject for CA certificates, then specify "ou".
Returns:
the builder
Throws:
java.lang.IllegalArgumentException if a necessary parameter is null.
 
         public Builder setLdapCACertificateAttributeName(String ldapCACertificateAttributeName)
         {
             this. = ldapCACertificateAttributeName;
 
             return this;
         }

        

Parameters:
ldapCrossCertificateAttributeName The attribute name(s) in the LDAP directory where to search for the attribute value of the specified crossCertificateSubjectAttributeName. E.g. if "o" is used to put information about the subject for cross certificates, then specify "o".
Returns:
the builder
Throws:
java.lang.IllegalArgumentException if a necessary parameter is null.
 
         public Builder setLdapCrossCertificateAttributeName(String ldapCrossCertificateAttributeName)
         {
             this. = ldapCrossCertificateAttributeName;
 
             return this;
         }

        

Parameters:
ldapCertificateRevocationListAttributeName The attribute name(s) in the LDAP directory where to search for the attribute value of the specified certificateRevocationListIssuerAttributeName. E.g. if "ou" is used to put information about the issuer of CRLs, specify "ou".
Returns:
the builder
Throws:
java.lang.IllegalArgumentException if a necessary parameter is null.
 
         public Builder setLdapCertificateRevocationListAttributeName(String ldapCertificateRevocationListAttributeName)
         {
             this. = ldapCertificateRevocationListAttributeName;
 
             return this;
         }

        

Parameters:
ldapDeltaRevocationListAttributeName The attribute name(s) in the LDAP directory where to search for the attribute value of the specified deltaRevocationListIssuerAttributeName. E.g. if "ou" is used to put information about the issuer of CRLs, specify "ou".
Returns:
the builder
Throws:
java.lang.IllegalArgumentException if a necessary parameter is null.
 
         public Builder setLdapDeltaRevocationListAttributeName(String ldapDeltaRevocationListAttributeName)
         {
             this. = ldapDeltaRevocationListAttributeName;
 
             return this;
         }

        

Parameters:
ldapAuthorityRevocationListAttributeName The attribute name(s) in the LDAP directory where to search for the attribute value of the specified authorityRevocationListIssuerAttributeName. E.g. if "ou" is used to put information about the issuer of CRLs, specify "ou".
Returns:
the builder
Throws:
java.lang.IllegalArgumentException if a necessary parameter is null.
 
         public Builder setLdapAuthorityRevocationListAttributeName(String ldapAuthorityRevocationListAttributeName)
         {
             this. = ldapAuthorityRevocationListAttributeName;
 
             return this;
         }

        

Parameters:
ldapAttributeCertificateAttributeAttributeName The attribute name(s) in the LDAP directory where to search for the attribute value of the specified attributeCertificateAttributeSubjectAttributeName. E.g. if "cn" is used to put information about the subject of end attribute certificates, specify "cn".
Returns:
the builder
Throws:
java.lang.IllegalArgumentException if a necessary parameter is null.
 
         public Builder setLdapAttributeCertificateAttributeAttributeName(String ldapAttributeCertificateAttributeAttributeName)
         {
             this. = ldapAttributeCertificateAttributeAttributeName;
 
             return this;
         }

        

Parameters:
ldapAACertificateAttributeName The attribute name(s) in the LDAP directory where to search for the attribute value of the specified aACertificateSubjectAttributeName. E.g. if "ou" is used to put information about the subject of attribute authority attribute certificates, specify "ou".
Returns:
the builder
Throws:
java.lang.IllegalArgumentException if a necessary parameter is null.
 
         public Builder setLdapAACertificateAttributeName(String ldapAACertificateAttributeName)
         {
             this. = ldapAACertificateAttributeName;
 
             return this;
         }

        

Parameters:
ldapAttributeDescriptorCertificateAttributeName The attribute name(s) in the LDAP directory where to search for the attribute value of the specified attributeDescriptorCertificateSubjectAttributeName. E.g. if "o" is used to put information about the subject of self signed attribute authority attribute certificates, specify "o".
Returns:
the builder
Throws:
java.lang.IllegalArgumentException if a necessary parameter is null.
 
         public Builder setLdapAttributeDescriptorCertificateAttributeName(String ldapAttributeDescriptorCertificateAttributeName)
         {
             this. = ldapAttributeDescriptorCertificateAttributeName;
 
             return this;
         }

        

Parameters:
ldapAttributeCertificateRevocationListAttributeName The attribute name(s) in the LDAP directory where to search for the attribute value of the specified attributeCertificateRevocationListIssuerAttributeName. E.g. if "ou" is used to put information about the issuer of CRLs, specify "ou".
Returns:
the builder
Throws:
java.lang.IllegalArgumentException if a necessary parameter is null.
 
         public Builder setLdapAttributeCertificateRevocationListAttributeName(String ldapAttributeCertificateRevocationListAttributeName)
         {
             this. = ldapAttributeCertificateRevocationListAttributeName;
 
             return this;
         }

        

Parameters:
ldapAttributeAuthorityRevocationListAttributeName The attribute name(s) in the LDAP directory where to search for the attribute value of the specified attributeAuthorityRevocationListIssuerAttributeName. E.g. if "ou" is used to put information about the issuer of CRLs, specify "ou".
Returns:
the builder
Throws:
java.lang.IllegalArgumentException if a necessary parameter is null.
 
         public Builder setLdapAttributeAuthorityRevocationListAttributeName(String ldapAttributeAuthorityRevocationListAttributeName)
         {
             this. = ldapAttributeAuthorityRevocationListAttributeName;
 
             return this;
         }

        

Parameters:
userCertificateSubjectAttributeName Attribute(s) in the subject of the certificate which is used to be searched in the ldapUserCertificateAttributeName. E.g. the "cn" attribute of the DN could be used.
Returns:
the builder
Throws:
java.lang.IllegalArgumentException if a necessary parameter is null.
 
         public Builder setUserCertificateSubjectAttributeName(String userCertificateSubjectAttributeName)
         {
             this. = userCertificateSubjectAttributeName;
 
             return this;
         }

        

Parameters:
cACertificateSubjectAttributeName Attribute(s) in the subject of the certificate which is used to be searched in the ldapCACertificateAttributeName. E.g. the "ou" attribute of the DN could be used.
Returns:
the builder
Throws:
java.lang.IllegalArgumentException if a necessary parameter is null.
 
         public Builder setCACertificateSubjectAttributeName(String cACertificateSubjectAttributeName)
         {
             this. = cACertificateSubjectAttributeName;
 
             return this;
         }

        

Parameters:
crossCertificateSubjectAttributeName Attribute(s) in the subject of the cross certificate which is used to be searched in the ldapCrossCertificateAttributeName. E.g. the "o" attribute of the DN may be appropriate.
Returns:
the builder
Throws:
java.lang.IllegalArgumentException if a necessary parameter is null.
 
         public Builder setCrossCertificateSubjectAttributeName(String crossCertificateSubjectAttributeName)
         {
             this. = crossCertificateSubjectAttributeName;
 
             return this;
         }

        

Parameters:
certificateRevocationListIssuerAttributeName Attribute(s) in the issuer of the CRL which is used to be searched in the ldapCertificateRevocationListAttributeName. E.g. the "o" or "ou" attribute may be used.
Returns:
the builder
Throws:
java.lang.IllegalArgumentException if a necessary parameter is null.
 
         public Builder setCertificateRevocationListIssuerAttributeName(String certificateRevocationListIssuerAttributeName)
         {
             this. = certificateRevocationListIssuerAttributeName;
 
             return this;
         }

        

Parameters:
deltaRevocationListIssuerAttributeName Attribute(s) in the issuer of the CRL which is used to be searched in the ldapDeltaRevocationListAttributeName. E.g. the "o" or "ou" attribute may be used.
Returns:
the builder
Throws:
java.lang.IllegalArgumentException if a necessary parameter is null.
 
         public Builder setDeltaRevocationListIssuerAttributeName(String deltaRevocationListIssuerAttributeName)
         {
             this. = deltaRevocationListIssuerAttributeName;
 
             return this;
         }

        

Parameters:
authorityRevocationListIssuerAttributeName Attribute(s) in the issuer of the CRL which is used to be searched in the ldapAuthorityRevocationListAttributeName. E.g. the "o" or "ou" attribute may be used.
Returns:
the builder
Throws:
java.lang.IllegalArgumentException if a necessary parameter is null.
 
         public Builder setAuthorityRevocationListIssuerAttributeName(String authorityRevocationListIssuerAttributeName)
         {
             this. = authorityRevocationListIssuerAttributeName;
 
             return this;
         }

        

Parameters:
attributeCertificateAttributeSubjectAttributeName Attribute(s) in the subject of the attribute certificate which is used to be searched in the ldapAttributeCertificateAttributeAttributeName. E.g. the "cn" attribute of the DN could be used.
Returns:
the builder
Throws:
java.lang.IllegalArgumentException if a necessary parameter is null.
 
         public Builder setAttributeCertificateAttributeSubjectAttributeName(String attributeCertificateAttributeSubjectAttributeName)
         {
             this. = attributeCertificateAttributeSubjectAttributeName;
 
             return this;
         }

        

Parameters:
aACertificateSubjectAttributeName Attribute(s) in the subject of the attribute certificate which is used to be searched in the ldapAACertificateAttributeName. E.g. the "ou" attribute of the DN could be used.
Returns:
the builder
Throws:
java.lang.IllegalArgumentException if a necessary parameter is null.
 
         public Builder setAACertificateSubjectAttributeName(String aACertificateSubjectAttributeName)
         {
             this. = aACertificateSubjectAttributeName;
 
             return this;
         }

        

Parameters:
attributeDescriptorCertificateSubjectAttributeName Attribute(s) in the subject of the attribute certificate which is used to be searched in the ldapAttributeDescriptorCertificateAttributeName. E.g. the "o" attribute of the DN could be used.
Returns:
the builder
Throws:
java.lang.IllegalArgumentException if a necessary parameter is null.
 
         public Builder setAttributeDescriptorCertificateSubjectAttributeName(String attributeDescriptorCertificateSubjectAttributeName)
         {
             this. = attributeDescriptorCertificateSubjectAttributeName;
 
             return this;
         }

        

Parameters:
attributeCertificateRevocationListIssuerAttributeName Attribute(s) in the issuer of the CRL which is used to be searched in the ldapAttributeCertificateRevocationListAttributeName. E.g. the "o" or "ou" attribute may be used certificate is searched in this LDAP attribute.
Returns:
the builder
Throws:
java.lang.IllegalArgumentException if a necessary parameter is null.
 
         public Builder setAttributeCertificateRevocationListIssuerAttributeName(String attributeCertificateRevocationListIssuerAttributeName)
         {
             this. = attributeCertificateRevocationListIssuerAttributeName;
 
             return this;
         }

        

Parameters:
attributeAuthorityRevocationListIssuerAttributeName Anttribute(s) in the issuer of the CRL which is used to be searched in the ldapAttributeAuthorityRevocationListAttributeName. E.g. the "o" or "ou" attribute may be used.
Returns:
the builder
Throws:
java.lang.IllegalArgumentException if a necessary parameter is null.
 
         public Builder setAttributeAuthorityRevocationListIssuerAttributeName(String attributeAuthorityRevocationListIssuerAttributeName)
         {
             this. = attributeAuthorityRevocationListIssuerAttributeName;
 
             return this;
         }

        

Parameters:
searchForSerialNumberIn If not null the serial number of the certificate is searched in this LDAP attribute.
Returns:
the builder
Throws:
java.lang.IllegalArgumentException if a necessary parameter is null.
 
         public Builder setSearchForSerialNumberIn(String searchForSerialNumberIn)
         {
             this. = searchForSerialNumberIn;
 
             return this;
         }
 
         public X509LDAPCertStoreParameters build()
         {
              if ( == null   // migrate to setters
                 ||  == null
                 ||  == null
                 ||  == null
                 ||  == null
                 ||  == null
                 ||  == null
                 ||  == null
                 ||  == null
                 ||  == null
                 ||  == null
                 ||  == null
                 ||  == null
                 ||  == null
                 ||  == null
                 ||  == null
                 ||  == null
                 ||  == null
                 ||  == null
                 ||  == null
                 ||  == null
                 ||  == null)
             {
                 throw new IllegalArgumentException(
                     "Necessary parameters not specified.");
             }
             return new X509LDAPCertStoreParameters(this);
         }
     }
 
 
     private X509LDAPCertStoreParameters(Builder builder)
     {
         this. = builder.ldapURL;
         this. = builder.baseDN;
 
         this. = builder.userCertificateAttribute;
         this. = builder.cACertificateAttribute;
         this. = builder.crossCertificateAttribute;
         this. = builder.certificateRevocationListAttribute;
         this. = builder.deltaRevocationListAttribute;
         this. = builder.authorityRevocationListAttribute;
         this. = builder.attributeCertificateAttributeAttribute;
         this. = builder.aACertificateAttribute;
         this. = builder.attributeDescriptorCertificateAttribute;
         this. = builder.attributeCertificateRevocationListAttribute;
         this. = builder.attributeAuthorityRevocationListAttribute;
         this. = builder.ldapUserCertificateAttributeName;
         this. = builder.ldapCACertificateAttributeName;
         this. = builder.ldapCrossCertificateAttributeName;
         this. = builder.ldapCertificateRevocationListAttributeName;
         this. = builder.ldapDeltaRevocationListAttributeName;
         this. = builder.ldapAuthorityRevocationListAttributeName;
         this. = builder.ldapAttributeCertificateAttributeAttributeName;
         this. = builder.ldapAACertificateAttributeName;
         this. = builder.ldapAttributeDescriptorCertificateAttributeName;
         this. = builder.ldapAttributeCertificateRevocationListAttributeName;
         this. = builder.ldapAttributeAuthorityRevocationListAttributeName;
         this. = builder.userCertificateSubjectAttributeName;
         this. = builder.cACertificateSubjectAttributeName;
         this. = builder.crossCertificateSubjectAttributeName;
         this. = builder.certificateRevocationListIssuerAttributeName;
         this. = builder.deltaRevocationListIssuerAttributeName;
         this. = builder.authorityRevocationListIssuerAttributeName;
         this. = builder.attributeCertificateAttributeSubjectAttributeName;
         this. = builder.aACertificateSubjectAttributeName;
         this. = builder.attributeDescriptorCertificateSubjectAttributeName;
         this. = builder.attributeCertificateRevocationListIssuerAttributeName;
         this. = builder.attributeAuthorityRevocationListIssuerAttributeName;
         this. = builder.searchForSerialNumberIn;
     }

    
Returns a clone of this object.
 
     public Object clone()
     {
         return this;
     }
 
     public boolean equal(Object o)
     {
         if (o == this)
         {
             return true;
         }
 
         if (!(o instanceof X509LDAPCertStoreParameters))
         {
             return false;
         }
 
         return checkField(params.ldapURL)
             && checkField(params.baseDN)
             && checkField(params.userCertificateAttribute)
             && checkField(params.cACertificateAttribute)
             && checkField(params.crossCertificateAttribute)
             && checkField(params.certificateRevocationListAttribute)
             && checkField(params.deltaRevocationListAttribute)
             && checkField(params.authorityRevocationListAttribute)
             && checkField(params.attributeCertificateAttributeAttribute)
             && checkField(params.aACertificateAttribute)
             && checkField(params.attributeDescriptorCertificateAttribute)
             && checkField(params.attributeCertificateRevocationListAttribute)
             && checkField(params.attributeAuthorityRevocationListAttribute)
             && checkField(params.ldapUserCertificateAttributeName)
             && checkField(params.ldapCACertificateAttributeName)
             && checkField(params.ldapCrossCertificateAttributeName)
             && checkField(params.ldapCertificateRevocationListAttributeName)
             && checkField(params.ldapDeltaRevocationListAttributeName)
             && checkField(params.ldapAuthorityRevocationListAttributeName)
             && checkField(params.ldapAttributeCertificateAttributeAttributeName)
             && checkField(params.ldapAACertificateAttributeName)
             && checkField(params.ldapAttributeDescriptorCertificateAttributeName)
             && checkField(params.ldapAttributeCertificateRevocationListAttributeName)
             && checkField(params.ldapAttributeAuthorityRevocationListAttributeName)
             && checkField(params.userCertificateSubjectAttributeName)
             && checkField(params.cACertificateSubjectAttributeName)
             && checkField(params.crossCertificateSubjectAttributeName)
             && checkField(params.certificateRevocationListIssuerAttributeName)
             && checkField(params.deltaRevocationListIssuerAttributeName)
             && checkField(params.authorityRevocationListIssuerAttributeName)
             && checkField(params.attributeCertificateAttributeSubjectAttributeName)
             && checkField(params.aACertificateSubjectAttributeName)
             && checkField(params.attributeDescriptorCertificateSubjectAttributeName)
             && checkField(params.attributeCertificateRevocationListIssuerAttributeName)
             && checkField(params.attributeAuthorityRevocationListIssuerAttributeName)
             && checkField(params.searchForSerialNumberIn);
     }
 
     private boolean checkField(Object o1Object o2)
     {
         if (o1 == o2)
         {
             return true;
         }
 
         if (o1 == null)
         {
             return false;
         }
 
         return o1.equals(o2);
     }
 
     public int hashCode()
     {
         int hash = 0;
 
         hash = addHashCode(hash);
         hash = addHashCode(hash);
         hash = addHashCode(hash);
         hash = addHashCode(hash);
         hash = addHashCode(hash);
         hash = addHashCode(hash);
         hash = addHashCode(hash);
         hash = addHashCode(hash);
         hash = addHashCode(hash);
         hash = addHashCode(hash);
         hash = addHashCode(hash);
         hash = addHashCode(hash);
         hash = addHashCode(hash);
         hash = addHashCode(hash);
         hash = addHashCode(hash);
         hash = addHashCode(hash);
         hash = addHashCode(hash);
         hash = addHashCode(hash);
         hash = addHashCode(hash);
         hash = addHashCode(hash);
         hash = addHashCode(hash);
         hash = addHashCode(hash);
         
         return hash;
     }
 
     private int addHashCode(int hashCodeObject o)
     {
         return (hashCode * 29) + (o == null ? 0 : o.hashCode());
     }

    

Returns:
Returns the aACertificateAttribute.
 
     {
         return ;
     }

    

Returns:
Returns the aACertificateSubjectAttributeName.
 
     {
         return ;
     }

    

Returns:
Returns the attributeAuthorityRevocationListAttribute.
 
     {
     }

    

Returns:
Returns the attributeAuthorityRevocationListIssuerAttributeName.
 
     {
     }

    

Returns:
Returns the attributeCertificateAttributeAttribute.
 
     {
    }

    

Returns:
Returns the attributeCertificateAttributeSubjectAttributeName.
    {
    }

    

Returns:
Returns the attributeCertificateRevocationListAttribute.
    {
    }

    

Returns:
Returns the attributeCertificateRevocationListIssuerAttributeName.
    {
    }

    

Returns:
Returns the attributeDescriptorCertificateAttribute.
    {
    }

    

Returns:
Returns the attributeDescriptorCertificateSubjectAttributeName.
    {
    }

    

Returns:
Returns the authorityRevocationListAttribute.
    {
        return ;
    }

    

Returns:
Returns the authorityRevocationListIssuerAttributeName.
    {
    }

    

Returns:
Returns the baseDN.
    public String getBaseDN()
    {
        return ;
    }

    

Returns:
Returns the cACertificateAttribute.
    {
        return ;
    }

    

Returns:
Returns the cACertificateSubjectAttributeName.
    {
        return ;
    }

    

Returns:
Returns the certificateRevocationListAttribute.
    {
    }

    

Returns:
Returns the certificateRevocationListIssuerAttributeName.
    {
    }

    

Returns:
Returns the crossCertificateAttribute.
    {
        return ;
    }

    

Returns:
Returns the crossCertificateSubjectAttributeName.
    {
    }

    

Returns:
Returns the deltaRevocationListAttribute.
    {
        return ;
    }

    

Returns:
Returns the deltaRevocationListIssuerAttributeName.
    {
    }

    

Returns:
Returns the ldapAACertificateAttributeName.
    {
        return ;
    }

    

Returns:
Returns the ldapAttributeAuthorityRevocationListAttributeName.
    {
    }

    

Returns:
Returns the ldapAttributeCertificateAttributeAttributeName.
    {
    }

    

Returns:
Returns the ldapAttributeCertificateRevocationListAttributeName.
    {
    }

    

Returns:
Returns the ldapAttributeDescriptorCertificateAttributeName.
    {
    }

    

Returns:
Returns the ldapAuthorityRevocationListAttributeName.
    {
    }

    

Returns:
Returns the ldapCACertificateAttributeName.
    {
        return ;
    }

    

Returns:
Returns the ldapCertificateRevocationListAttributeName.
    {
    }

    

Returns:
Returns the ldapCrossCertificateAttributeName.
    {
        return ;
    }

    

Returns:
Returns the ldapDeltaRevocationListAttributeName.
    {
    }

    

Returns:
Returns the ldapURL.
    public String getLdapURL()
    {
        return ;
    }

    

Returns:
Returns the ldapUserCertificateAttributeName.
    {
        return ;
    }

    

Returns:
Returns the searchForSerialNumberIn.
    {
        return ;
    }

    

Returns:
Returns the userCertificateAttribute.
    {
        return ;
    }

    

Returns:
Returns the userCertificateSubjectAttributeName.
    {
    }
    {
        String server = "ldap://" + params.getServerName() + ":" + params.getPort();
        X509LDAPCertStoreParameters _params = new Builder(server"").build();
        return _params;
    }