Class BasicX509CredentialFactoryBean

    • Field Detail

      • log

        private final org.slf4j.Logger log
        log.
      • entityResource

        private Resource entityResource
        The specification of where the entity Resource is to be found.
      • certificateResources

        private List<Resource> certificateResources
        Where the certificates are to be found.
      • privateKeyResource

        private Resource privateKeyResource
        Where the private key is to be found.
      • crlResources

        private List<Resource> crlResources
        Where the crls are to be found.
    • Constructor Detail

      • BasicX509CredentialFactoryBean

        public BasicX509CredentialFactoryBean()
    • Method Detail

      • setEntity

        public void setEntity​(@Nonnull
                              Resource what)
        Set the Resource with the entity certificate.
        Parameters:
        what - The Resource to set.
      • setCertificates

        public void setCertificates​(@Nullable @NotEmpty
                                    List<Resource> what)
        Sets the Resources which contain the certificates.
        Parameters:
        what - The values to set.
      • setPrivateKey

        public void setPrivateKey​(@Nullable
                                  Resource what)
        Set the Resource with the entity certificate.
        Parameters:
        what - The resource to set.
      • setCRLs

        public void setCRLs​(@Nullable @NotEmpty
                            List<Resource> what)
        Sets the Resources which contain the crls.
        Parameters:
        what - The value to set.
      • setPrivateKeyResource

        public void setPrivateKeyResource​(@Nonnull
                                          Resource res)
        Set the resource containing the private key.
        Parameters:
        res - private key resource, never null
      • setPrivateKeyPassword

        public void setPrivateKeyPassword​(@Nullable
                                          String password)
        Set the password for the private key.
        Parameters:
        password - password for the private key, may be null if the key is not encrypted
      • setCertificateResource

        public void setCertificateResource​(@Nonnull
                                           Resource res)
        Set the certificate resource.
        Parameters:
        res - certificate resource
      • setEntityId

        public void setEntityId​(@Nullable
                                String id)
        Set the entityID for the credential.
        Parameters:
        id - entityID