Class AbstractX509CredentialParser

    • Field Detail

      • PRIVATE_KEY_ELEMENT_NAME

        public static final QName PRIVATE_KEY_ELEMENT_NAME
        <PrivateKey>.
      • CERTIFICATE_ELEMENT_NAME

        public static final QName CERTIFICATE_ELEMENT_NAME
        <Certificate>.
      • CRL_ELEMENT_NAME

        public static final QName CRL_ELEMENT_NAME
        <CRL>.
      • log

        private org.slf4j.Logger log
        log.
    • Constructor Detail

      • AbstractX509CredentialParser

        public AbstractX509CredentialParser()
    • Method Detail

      • parsePrivateKey

        private void parsePrivateKey​(@Nullable
                                     List<Element> childElements,
                                     @Nonnull
                                     BeanDefinitionBuilder builder)
        Parse the <PrivateKey> element.
        Parameters:
        childElements - the elements containing the private key, may be null or empty.
        builder - the builder
      • parseCertificates

        private void parseCertificates​(@Nullable
                                       List<Element> childElements,
                                       @Nonnull
                                       BeanDefinitionBuilder builder)
        Parse the <Certificate> elements.
        Parameters:
        childElements - the elements containing the certificates, Must have at least one element.
        builder - the builder
      • parseCRLs

        private void parseCRLs​(@Nullable
                               List<Element> childElements,
                               @Nonnull
                               BeanDefinitionBuilder builder)
        Parse the <CRL> elements.
        Parameters:
        childElements - the elements containing the CRLs, Must have at least one element.
        builder - the builder