protected byte[] decodeMetadata(final String metadata) {
        return Base64.getDecoder().decode(metadata);
    }
<p>decodeMetadata.</p>

@param metadata a {@link String} object
@return an array of {@link byte} objects
pac4j-saml/src/main/java/org/pac4j/saml/metadata/jdbc/SAML2JdbcMetadataGenerator.java