Liking cljdoc? Tell your friends :D

saml20-clj.crypto


assert-signature-valid-when-presentclj

(assert-signature-valid-when-present object credential)

Attempts to validate any signatures in a SAML object. Raises if signature validation fails.

Attempts to validate any signatures in a SAML object. Raises if signature validation fails.
sourceraw docstring

authenticated?clj

(authenticated? msg-ctx)

True if the MessageContext's PeerEntity subcontext has isAuthenticated set

True if the MessageContext's PeerEntity subcontext has isAuthenticated set
sourceraw docstring

handle-signature-securityclj

(handle-signature-security msg-ctx issuer credential & [request])

Uses OpenSAMLs security handlers to verify the signature of an incoming request for both GET and POST-based SAML flows.

Returns the verified MessageContext for the request.

The SAMLPeerEntityContext subcontext of the MessageContext will have a method isAuthenticated that returns true if the signature verification succeeded.

It will raise if the verification fails and a signature was provided.

It will return the message context if no sigature was provided but isAuthenticated will be false.

Uses OpenSAMLs security handlers to verify the signature of an incoming request for both
GET and POST-based SAML flows.

Returns the verified MessageContext for the request.

The SAMLPeerEntityContext subcontext of the MessageContext will have a method isAuthenticated
that returns true if the signature verification succeeded.

It will raise if the verification fails and a signature was provided.

It will return the message context if no sigature was provided but isAuthenticated will be
false.
sourceraw docstring

has-private-key?clj

(has-private-key? credential)

Will check if the provided keystore contains a private key or not.

Will check if the provided keystore contains a private key or not.
sourceraw docstring

recursive-decrypt!clj

(recursive-decrypt! sp-private-key element)

Mutates a SAML object to decrypt any encrypted Assertions present.

Mutates a SAML object to decrypt any encrypted Assertions present.
sourceraw docstring

signed?clj

(signed? object)

Returns true when an xml object has a top-level Signature Element

Returns true when an xml object has a top-level Signature Element
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close