Uses of Class
org.keycloak.saml.common.exceptions.ProcessingException
-
-
Uses of ProcessingException in org.keycloak.dom.xmlsec.w3.xmldsig
Methods in org.keycloak.dom.xmlsec.w3.xmldsig that throw ProcessingException Modifier and Type Method Description DSAPrivateKey
DSAKeyValueType. convertToPrivateKey()
Convert to the JDK representation of a DSA Private KeyRSAPrivateKey
RSAKeyValueType. convertToPrivateKey()
Convert to the JDK representation of a RSA Private KeyDSAPublicKey
DSAKeyValueType. convertToPublicKey()
Convert to the JDK representation of a DSA Public KeyRSAPublicKey
RSAKeyValueType. convertToPublicKey()
Convert to the JDK representation of a RSA Public Key -
Uses of ProcessingException in org.keycloak.protocol.oidc.endpoints
Methods in org.keycloak.protocol.oidc.endpoints that throw ProcessingException Modifier and Type Method Description protected javax.ws.rs.core.Response
TokenEndpoint.TokenExchangeSamlProtocol. buildAuthenticatedResponse(AuthenticatedClientSessionModel clientSession, String redirectUri, Document samlDocument, JaxrsSAML2BindingBuilder bindingBuilder)
protected javax.ws.rs.core.Response
TokenEndpoint.TokenExchangeSamlProtocol. buildErrorResponse(boolean isPostBinding, String destination, JaxrsSAML2BindingBuilder binding, Document document)
-
Uses of ProcessingException in org.keycloak.protocol.saml
Methods in org.keycloak.protocol.saml that throw ProcessingException Modifier and Type Method Description javax.ws.rs.core.Response
SamlService. artifactResolve(ArtifactResolveType artifactResolveMessage, SAMLDocumentHolder artifactResolveHolder)
Takes an artifact resolve message and returns the artifact response, if the artifact is found belonging to a session of the issuer.protected String
SamlProtocol. buildArtifactAndStoreResponse(SAML2Object saml2Object, AuthenticatedClientSessionModel clientSessionModel)
protected String
SamlProtocol. buildArtifactAndStoreResponse(SAML2Object statusResponseType, UserSessionModel userSession)
protected javax.ws.rs.core.Response
SamlProtocol. buildArtifactAuthenticatedResponse(AuthenticatedClientSessionModel clientSession, String redirectUri, SAML2Object samlDocument, JaxrsSAML2BindingBuilder bindingBuilder)
This method, instead of sending the actual response with the token sends the artifact message via post or redirect.static ArtifactResponseType
SamlProtocolUtils. buildArtifactResponse(SAML2Object samlObject, NameIDType issuer)
Takes a saml object (an object that will be part of resulting ArtifactResponse), and inserts it as the body of an ArtifactResponse.static ArtifactResponseType
SamlProtocolUtils. buildArtifactResponse(SAML2Object samlObject, NameIDType issuer, URI statusCode)
Takes a saml object (an object that will be part of resulting ArtifactResponse), and inserts it as the body of an ArtifactResponse.static ArtifactResponseType
SamlProtocolUtils. buildArtifactResponse(Document document)
Takes a saml document and inserts it as a body of ArtifactResponseTypeprotected javax.ws.rs.core.Response
SamlProtocol. buildAuthenticatedResponse(AuthenticatedClientSessionModel clientSession, String redirectUri, Document samlDocument, JaxrsSAML2BindingBuilder bindingBuilder)
protected javax.ws.rs.core.Response
SamlProtocol. buildErrorResponse(boolean isPostBinding, String destination, JaxrsSAML2BindingBuilder binding, Document document)
protected javax.ws.rs.core.Response
SamlProtocol. buildLogoutArtifactResponse(UserSessionModel userSession, String redirectUri, StatusResponseType statusResponseType, JaxrsSAML2BindingBuilder bindingBuilder)
This method, instead of sending the actual response with the token, sends the artifact message via post or redirect.protected javax.ws.rs.core.Response
SamlProtocol. buildLogoutResponse(UserSessionModel userSession, String logoutBindingUri, SAML2LogoutResponseBuilder builder, JaxrsSAML2BindingBuilder binding)
static Document
SamlProtocolUtils. convert(ArtifactResponseType responseType)
Convert a SAML2 ArtifactResponse into a Documentprotected abstract String
SamlService.BindingProtocol. encodeSamlDocument(Document samlDocument)
protected String
SamlService.PostBindingProtocol. encodeSamlDocument(Document samlDocument)
protected String
SamlService.RedirectBindingProtocol. encodeSamlDocument(Document samlDocument)
static String
IDPMetadataDescriptor. getIDPDescriptor(URI loginPostEndpoint, URI loginRedirectEndpoint, URI logoutEndpoint, URI artifactResolutionService, String entityId, boolean wantAuthnRequestsSigned, List<Element> signingCerts)
JaxrsSAML2BindingBuilder.PostBindingBuilder
JaxrsSAML2BindingBuilder. postBinding(Document document)
JaxrsSAML2BindingBuilder.RedirectBindingBuilder
JaxrsSAML2BindingBuilder. redirectBinding(Document document)
javax.ws.rs.core.Response
JaxrsSAML2BindingBuilder.PostBindingBuilder. request(String actionUrl)
javax.ws.rs.core.Response
JaxrsSAML2BindingBuilder.RedirectBindingBuilder. request(String redirect)
javax.ws.rs.core.Response
JaxrsSAML2BindingBuilder.PostBindingBuilder. response(String actionUrl)
javax.ws.rs.core.Response
JaxrsSAML2BindingBuilder.RedirectBindingBuilder. response(String redirectUri)
javax.ws.rs.core.Response
JaxrsSAML2BindingBuilder.SoapBindingBuilder. response()
JaxrsSAML2BindingBuilder.SoapBindingBuilder
JaxrsSAML2BindingBuilder. soapBinding(Document document)
Constructors in org.keycloak.protocol.saml that throw ProcessingException Constructor Description PostBindingBuilder(JaxrsSAML2BindingBuilder builder, Document document)
RedirectBindingBuilder(JaxrsSAML2BindingBuilder builder, Document document)
SoapBindingBuilder(JaxrsSAML2BindingBuilder builder, Document document)
-
Uses of ProcessingException in org.keycloak.saml
Methods in org.keycloak.saml that throw ProcessingException Modifier and Type Method Description String
BaseSAML2BindingBuilder. base64Encoded(Document document)
Document
SAML2ErrorResponseBuilder. buildDocument()
Document
SAML2LoginResponseBuilder. buildDocument(ResponseType responseType)
Document
SAML2LogoutRequestBuilder. buildDocument()
Document
SAML2LogoutResponseBuilder. buildDocument()
String
BaseSAML2BindingBuilder. buildHtmlPostResponse(Document responseDoc, String actionUrl, boolean asRequest)
ResponseType
SAML2LoginResponseBuilder. buildModel()
String
BaseSAML2BindingBuilder.BasePostBindingBuilder. encoded()
void
BaseSAML2BindingBuilder. encryptDocument(Document samlDocument)
URI
BaseSAML2BindingBuilder. generateRedirectUri(String samlParameterName, String redirectUri, Document document)
URI
BaseSAML2BindingBuilder.BaseRedirectBindingBuilder. generateURI(String redirectUri, boolean asRequest)
String
BaseSAML2BindingBuilder.BasePostBindingBuilder. getHtmlRequest(String actionUrl)
String
BaseSAML2BindingBuilder.BasePostBindingBuilder. getHtmlResponse(String actionUrl)
static String
BaseSAML2BindingBuilder. getSAMLResponse(Document responseDoc)
BaseSAML2BindingBuilder.BasePostBindingBuilder
BaseSAML2BindingBuilder. postBinding(Document document)
BaseSAML2BindingBuilder.BaseRedirectBindingBuilder
BaseSAML2BindingBuilder. redirectBinding(Document document)
URI
BaseSAML2BindingBuilder.BaseRedirectBindingBuilder. requestURI(String actionUrl)
URI
BaseSAML2BindingBuilder.BaseRedirectBindingBuilder. responseURI(String actionUrl)
void
BaseSAML2BindingBuilder. signAssertion(Document samlDocument)
void
BaseSAML2BindingBuilder. signDocument(Document samlDocument)
BaseSAML2BindingBuilder.BaseSoapBindingBuilder
BaseSAML2BindingBuilder. soapBinding(Document document)
void
SamlProtocolExtensionsAwareBuilder.NodeGenerator. write(XMLStreamWriter writer)
Generate contents of the <samlp:Extensions> tag.Constructors in org.keycloak.saml that throw ProcessingException Constructor Description BasePostBindingBuilder(BaseSAML2BindingBuilder builder, Document document)
BaseRedirectBindingBuilder(BaseSAML2BindingBuilder builder, Document document)
BaseSoapBindingBuilder(BaseSAML2BindingBuilder builder, Document document)
-
Uses of ProcessingException in org.keycloak.saml.common
-
Uses of ProcessingException in org.keycloak.saml.common.exceptions
Subclasses of ProcessingException in org.keycloak.saml.common.exceptions Modifier and Type Class Description class
TrustKeyProcessingException
Processing Exception in the trust key manager -
Uses of ProcessingException in org.keycloak.saml.common.util
Methods in org.keycloak.saml.common.util that throw ProcessingException Modifier and Type Method Description static Document
DocumentUtil. createDocumentWithBaseNamespace(String baseNamespace, String localPart)
Create a document with the root element of the form <someElement xmlns="customNamespace"static void
StaxUtil. flush(XMLStreamWriter writer)
Flush the stream writerstatic Document
DocumentUtil. getDocument(File file)
Get Document from a filestatic Document
DocumentUtil. getDocument(InputStream is)
Get Document from an inputstreamstatic Document
DocumentUtil. getDocument(Reader reader)
Parse a document from a readerstatic Document
DocumentUtil. getDocument(String docString)
Parse a document from the stringstatic String
DocumentUtil. getDocumentAsString(Document signedDoc)
Marshall a document into a Stringstatic InputStream
DocumentUtil. getNodeAsStream(Node node)
Stream a DOM Node as an input streamstatic String
DocumentUtil. getNodeAsString(Node node)
Marshall a DOM Node into a Stringstatic InputStream
DocumentUtil. getSourceAsStream(Source source)
Get theSource
as anInputStream
static XMLEventWriter
StaxUtil. getXMLEventWriter(OutputStream outStream)
Get anXMLEventWriter
static XMLStreamWriter
StaxUtil. getXMLStreamWriter(OutputStream outStream)
Get anXMLStreamWriter
static XMLStreamWriter
StaxUtil. getXMLStreamWriter(Writer writer)
Get anXMLStreamWriter
static XMLStreamWriter
StaxUtil. getXMLStreamWriter(Result result)
static void
StaxUtil. setPrefix(XMLStreamWriter writer, String prefix, String nsURI)
Set a prefixstatic void
StaxUtil. writeAttribute(XMLStreamWriter writer, String localName, String value)
Write an xml attributestatic void
StaxUtil. writeAttribute(XMLStreamWriter writer, String localName, String type, String value)
Write an xml attributestatic void
StaxUtil. writeAttribute(XMLStreamWriter writer, String prefix, String localName, String type, String value)
Write an xml attributestatic void
StaxUtil. writeAttribute(XMLStreamWriter writer, String attributeName, QName attributeValue)
Write an attributestatic void
StaxUtil. writeAttribute(XMLStreamWriter writer, QName attributeName, String attributeValue)
Write an attributestatic void
StaxUtil. writeCData(XMLStreamWriter writer, String value)
Write a string as text nodestatic void
StaxUtil. writeCharacters(XMLStreamWriter writer, String value)
Write a string as text nodestatic void
StaxUtil. writeDefaultNameSpace(XMLStreamWriter writer, String ns)
Write the default namespacestatic void
StaxUtil. writeDOMElement(XMLStreamWriter writer, Element domElement)
Write DOM Element to the streamstatic void
StaxUtil. writeDOMNode(XMLStreamWriter writer, Node node)
Write a DOM Node to the streamstatic void
StaxUtil. writeEndElement(XMLStreamWriter writer)
Write an end element.static void
StaxUtil. writeNameSpace(XMLStreamWriter writer, String prefix, String ns)
Write a namespacestatic void
StaxUtil. writeStartElement(XMLStreamWriter writer, String prefix, String localPart, String ns)
Write a start element -
Uses of ProcessingException in org.keycloak.saml.processing.api.saml.v2.request
Methods in org.keycloak.saml.processing.api.saml.v2.request that throw ProcessingException Modifier and Type Method Description static Document
SAML2Request. convert(RequestAbstractType rat)
Return the DOM objectstatic Document
SAML2Request. convert(ResponseType responseType)
Convert a SAML2 Response into a DocumentAuthnRequestType
SAML2Request. getAuthnRequestType(InputStream is)
Get the AuthnRequestType from an input streamAuthnRequestType
SAML2Request. getAuthnRequestType(String fileName)
Get AuthnRequestType from a fileRequestAbstractType
SAML2Request. getRequestType(InputStream is)
Get a Request Type from Input Streamstatic SAMLDocumentHolder
SAML2Request. getSAML2ObjectFromDocument(Document samlDocument)
Get the Underlying SAML2Object from a documentstatic SAMLDocumentHolder
SAML2Request. getSAML2ObjectFromStream(InputStream is)
Get the Underlying SAML2Object from the input streamstatic void
SAML2Request. marshall(RequestAbstractType requestType, OutputStream os)
Marshall the AuthnRequestType to an output streamstatic void
SAML2Request. marshall(RequestAbstractType requestType, Writer writer)
Marshall the AuthnRequestType to a writer -
Uses of ProcessingException in org.keycloak.saml.processing.api.saml.v2.response
Methods in org.keycloak.saml.processing.api.saml.v2.response that throw ProcessingException Modifier and Type Method Description static Document
SAML2Response. convert(StatusResponseType responseType)
Convert a SAML2 Response into a DocumentResponseType
SAML2Response. createResponseType(String ID, SPInfoHolder sp, IDPInfoHolder idp, IssuerInfoHolder issuerInfo)
Create a ResponseType NOTE:: The PicketLink STS is used to issue/update the assertion If you want to control over the assertion being issued, then use#createResponseType(String, SPInfoHolder, IDPInfoHolder, IssuerInfoHolder, AssertionType)
AssertionType
SAML2Response. getAssertionType(InputStream is)
Read an assertion from an input streamEncryptedAssertionType
SAML2Response. getEncryptedAssertion(InputStream is)
Get an encrypted assertion from the streamResponseType
SAML2Response. getResponseType(InputStream is)
Read a ResponseType from an input streamstatic SAMLDocumentHolder
SAML2Response. getSAML2ObjectFromDocument(Document samlDocument)
Get the Underlying SAML2Object from a documentSAML2Object
SAML2Response. getSAML2ObjectFromStream(InputStream is)
Read aSAML2Object
from an input streamvoid
SAML2Response. marshall(ResponseType responseType, OutputStream os)
Marshall the response type to the output streamvoid
SAML2Response. marshall(ResponseType responseType, Writer writer)
Marshall the ResponseType into a writer -
Uses of ProcessingException in org.keycloak.saml.processing.api.saml.v2.sig
Methods in org.keycloak.saml.processing.api.saml.v2.sig that throw ProcessingException Modifier and Type Method Description void
SAML2Signature. signSAMLDocument(Document samlDocument, String keyName, KeyPair keypair, String canonicalizationMethodType)
Sign a SAML Documentboolean
SAML2Signature. validate(Document signedDocument, KeyLocator keyLocator)
Validate the SAML2 Document -
Uses of ProcessingException in org.keycloak.saml.processing.core.parsers.saml
Methods in org.keycloak.saml.processing.core.parsers.saml that throw ProcessingException Modifier and Type Method Description SAML11AssertionType
SAML11AssertionParser. fromElement(Element element)
-
Uses of ProcessingException in org.keycloak.saml.processing.core.saml.v1.writers
Methods in org.keycloak.saml.processing.core.saml.v1.writers that throw ProcessingException Modifier and Type Method Description void
SAML11AssertionWriter. write(SAML11ActionType action)
void
SAML11AssertionWriter. write(SAML11AssertionType assertion)
Write anSAML11AssertionType
to streamvoid
SAML11AssertionWriter. write(SAML11AttributeStatementType statement)
void
SAML11AssertionWriter. write(SAML11AttributeType attributeType)
Write anAttributeType
to streamvoid
SAML11AssertionWriter. write(SAML11AuthenticationStatementType authnStatement)
Write anAuthnStatementType
to streamvoid
SAML11AssertionWriter. write(SAML11AuthorityBindingType authority)
void
SAML11AssertionWriter. write(SAML11AuthorizationDecisionStatementType xacmlStat)
void
SAML11AssertionWriter. write(SAML11EvidenceType evidence)
void
SAML11AssertionWriter. write(SAML11NameIdentifierType nameid)
void
SAML11AssertionWriter. write(SAML11SubjectConfirmationType confirmation)
void
SAML11AssertionWriter. write(SAML11SubjectLocalityType locality)
void
SAML11AssertionWriter. write(SAML11SubjectStatementType statement)
void
SAML11AssertionWriter. write(SAML11SubjectType subject)
write anSubjectType
to streamvoid
SAML11AssertionWriter. write(StatementAbstractType statement)
Write anStatementAbstractType
to streamvoid
SAML11RequestWriter. write(SAML11AttributeQueryType attr)
void
SAML11RequestWriter. write(SAML11AuthenticationQueryType auth)
void
SAML11RequestWriter. write(SAML11AuthorizationDecisionQueryType attr)
void
SAML11RequestWriter. write(SAML11RequestType request)
void
SAML11ResponseWriter. write(SAML11ResponseType response)
void
SAML11ResponseWriter. write(SAML11StatusCodeType statusCode)
void
SAML11ResponseWriter. write(SAML11StatusType status)
void
SAML11AssertionWriter. writeAttributeTypeWithoutRootTag(SAML11AttributeType attributeType)
void
SAML11AssertionWriter. writeLocalizedNameType(LocalizedNameType localizedNameType, QName startElement)
void
SAML11AssertionWriter. writeStringAttributeValue(String attributeValue)
void
SAML11AssertionWriter. writeSubjectConfirmationData(Object scData)
-
Uses of ProcessingException in org.keycloak.saml.processing.core.saml.v2.util
Methods in org.keycloak.saml.processing.core.saml.v2.util that throw ProcessingException Modifier and Type Method Description static Document
AssertionUtil. asDocument(AssertionType assertion)
GivenAssertionType
, convert it into a DOM Document.static String
AssertionUtil. asString(AssertionType assertion)
GivenAssertionType
, convert it into a Stringstatic Element
AssertionUtil. decryptAssertion(ResponseType responseType, PrivateKey privateKey)
static Element
AssertionUtil. decryptAssertion(ResponseType responseType, XMLEncryptionUtil.DecryptionKeyLocator decryptionKeyLocator)
This method modifies the given responseType, and replaces the encrypted assertion with a decrypted version.static void
AssertionUtil. decryptId(ResponseType responseType, XMLEncryptionUtil.DecryptionKeyLocator decryptionKeyLocator)
This method modifies the given responseType, and replaces the encrypted id with a decrypted version.static AssertionType
AssertionUtil. getAssertion(SAMLDocumentHolder holder, ResponseType responseType, PrivateKey privateKey)
static X509Certificate
SAMLMetadataUtil. getCertificate(KeyDescriptorType keyDescriptor)
Get theX509Certificate
from the KeyInfostatic boolean
AssertionUtil. isAssertionEncrypted(ResponseType responseType)
static void
StaxWriterUtil. writeDSAKeyValueType(XMLStreamWriter writer, DSAKeyValueType type)
static void
StaxWriterUtil. writeKeyInfo(XMLStreamWriter writer, KeyInfoType keyInfo)
Write theKeyInfoType
static void
StaxWriterUtil. writeRSAKeyValueType(XMLStreamWriter writer, RSAKeyValueType type)
-
Uses of ProcessingException in org.keycloak.saml.processing.core.saml.v2.writers
Methods in org.keycloak.saml.processing.core.saml.v2.writers that throw ProcessingException Modifier and Type Method Description void
BaseWriter. write(AttributeType attributeType)
Write anAttributeType
to streamvoid
BaseWriter. write(NameIDType nameIDType, QName tag)
WriteNameIDType
to stream without writing a namespacevoid
BaseWriter. write(NameIDType nameIDType, QName tag, boolean writeNamespace)
WriteNameIDType
to streamvoid
BaseWriter. write(SubjectType subject)
write anSubjectType
to streamvoid
BaseWriter. write(ExtensionsType extensions)
void
SAMLAssertionWriter. write(AssertionType assertion)
Write anAssertionType
to streamvoid
SAMLAssertionWriter. write(AttributeStatementType statement)
void
SAMLAssertionWriter. write(AuthnContextType authContext)
Write anAuthnContextType
to streamvoid
SAMLAssertionWriter. write(AuthnStatementType authnStatement, boolean includeNamespace)
Write anAuthnStatementType
to streamvoid
SAMLAssertionWriter. write(StatementAbstractType statement)
Write anStatementAbstractType
to streamvoid
SAMLMetadataWriter. write(ContactType contact)
void
SAMLMetadataWriter. write(ExtensionsType extensions)
void
SAMLMetadataWriter. write(IDPSSODescriptorType idpSSODescriptor)
void
SAMLMetadataWriter. write(SPSSODescriptorType spSSODescriptor)
void
SAMLMetadataWriter. write(SSODescriptorType ssoDescriptor)
void
SAMLRequestWriter. write(ArtifactResolveType request)
void
SAMLRequestWriter. write(AttributeQueryType request)
void
SAMLRequestWriter. write(AuthnRequestType request)
Write aAuthnRequestType
to streamvoid
SAMLRequestWriter. write(LogoutRequestType logOutRequest)
Write aLogoutRequestType
to streamvoid
SAMLRequestWriter. write(NameIDPolicyType nameIDPolicy)
Write aNameIDPolicyType
to streamvoid
SAMLRequestWriter. write(RequestedAuthnContextType requestedAuthnContextType)
Write aRequestedAuthnContextType
to streamvoid
SAMLResponseWriter. write(ArtifactResponseType response)
void
SAMLResponseWriter. write(ResponseType response)
Write aResponseType
to streamvoid
SAMLResponseWriter. write(StatusCodeType statusCodeType)
Write aStatusCodeType
to streamvoid
SAMLResponseWriter. write(StatusDetailType statusDetailType)
Write aStatusDetailType
to streamvoid
SAMLResponseWriter. write(StatusResponseType response, QName qname)
Write aStatusResponseType
void
SAMLResponseWriter. write(StatusType status)
Write aStatusType
to streamvoid
SAMLMetadataWriter. writeArtifactResolutionService(IndexedEndpointType indexedEndpoint)
void
SAMLMetadataWriter. writeAssertionConsumerService(IndexedEndpointType indexedEndpoint)
void
SAMLMetadataWriter. writeAttributeAuthorityDescriptor(AttributeAuthorityDescriptorType attributeAuthority)
void
SAMLMetadataWriter. writeAttributeConsumingService(AttributeConsumingServiceType attributeConsumer)
void
SAMLMetadataWriter. writeAttributeService(EndpointType endpoint)
void
BaseWriter. writeAttributeTypeWithoutRootTag(AttributeType attributeType)
void
BaseWriter. writeDateAttributeValue(XMLGregorianCalendar attributeValue)
void
SAMLMetadataWriter. writeEncryptionMethod(EncryptionMethodType methodType)
void
SAMLMetadataWriter. writeEntitiesDescriptor(EntitiesDescriptorType entities)
void
SAMLMetadataWriter. writeEntityDescriptor(EntityDescriptorType entityDescriptor)
void
SAMLMetadataWriter. writeIndexedEndpointType(IndexedEndpointType indexedEndpoint)
void
SAMLMetadataWriter. writeKeyDescriptor(KeyDescriptorType keyDescriptor)
void
BaseWriter. writeLocalizedNameType(LocalizedNameType localizedNameType, QName startElement)
void
BaseWriter. writeNameIDTypeAttributeValue(NameIDType attributeValue)
void
SAMLMetadataWriter. writeOrganization(OrganizationType org)
void
SAMLMetadataWriter. writeSingleLogoutService(EndpointType endpoint)
void
SAMLMetadataWriter. writeSingleSignOnService(EndpointType endpoint)
void
BaseWriter. writeStringAttributeValue(String attributeValue)
-
Uses of ProcessingException in org.keycloak.saml.processing.core.util
Methods in org.keycloak.saml.processing.core.util that throw ProcessingException Modifier and Type Method Description static void
JAXPValidationUtil. checkSchemaValidation(Node samlDocument)
Based on system property "picketlink.schema.validate" set to "true", do schema validationstatic Element
XMLEncryptionUtil. decryptElementInDocument(Document documentWithEncryptedElement, XMLEncryptionUtil.DecryptionKeyLocator decryptionKeyLocator)
Decrypts an encrypted element inside a document.static void
XMLEncryptionUtil. encryptElement(QName elementQName, Document document, PublicKey publicKey, SecretKey secretKey, int keySize, QName wrappingElementQName, boolean addEncryptedKeyInKeyInfo)
static void
XMLEncryptionUtil. encryptElement(QName elementQName, Document document, PublicKey publicKey, SecretKey secretKey, int keySize, QName wrappingElementQName, boolean addEncryptedKeyInKeyInfo, String keyEncryptionAlgorithm)
static void
XMLEncryptionUtil. encryptElement(QName elementQName, Document document, PublicKey publicKey, SecretKey secretKey, int keySize, QName wrappingElementQName, boolean addEncryptedKeyInKeyInfo, String keyEncryptionAlgorithm, String keyEncryptionDigestMethod, String keyEncryptionMgfAlgorithm)
Given an element in a Document, encrypt the element and replace the element in the document with the encrypted datastatic X509Certificate
XMLSignatureUtil. getX509CertificateFromKeyInfoString(String certificateString)
Given the X509Certificate in the keyinfo element, get aX509Certificate
void
KeycloakKeySamlExtensionGenerator. write(XMLStreamWriter writer)
-