Liking cljdoc? Tell your friends :D

saml20-clj.coerce


bytes->PrivateKeycljmultimethod

(bytes->PrivateKey key-bytes algorithm)

Generate a private key from a byte array using the given algorithm.

(bytes->PrivateKey my-byte-array :rsa) ;; -> ...

Generate a private key from a byte array using the given `algorithm`.

(bytes->PrivateKey my-byte-array :rsa) ;; -> ...
sourceraw docstring

CoerceToCredentialcljprotocol

->Credentialclj

(->Credential this)
(->Credential public-key private-key)

Coerce something such as a byte array or base-64-encoded String to an OpenSAML Credential. Typically you'd use the credential with just the public key for the IdP's credentials for encrypting requests (in combination with SP credentails) or verifying signature(s) in the response. A credential with both public and private keys would typically contain your public and private keys for encrypting requests (in combination with IdP credentials) or for decrypting encrypted assertions in the response.

Coerce something such as a byte array or base-64-encoded String to an OpenSAML `Credential`. Typically you'd use
the credential with just the public key for the IdP's credentials for encrypting requests (in combination with SP
credentails) or verifying signature(s) in the response. A credential with both public and private keys would
typically contain *your* public and private keys for encrypting requests (in combination with IdP credentials) or
for decrypting encrypted assertions in the response.
source

CoerceToElementcljprotocol

->Elementclj

(->Element this)
source

CoerceToLogoutResponsecljprotocol

->LogoutResponseclj

(->LogoutResponse this)
source

CoerceToPrivateKeycljprotocol

->PrivateKeyclj

(->PrivateKey this)
(->PrivateKey this algorithm)

Coerce something such as a base-64-encoded string or byte array to a PrivateKey. This isn't used directly by OpenSAML -- the key must be passed as part of an OpenSAML Credential. See ->Credential.

Coerce something such as a base-64-encoded string or byte array to a `PrivateKey`. This isn't used directly by
OpenSAML -- the key must be passed as part of an OpenSAML `Credential`. See `->Credential`.
source

CoerceToResponsecljprotocol

->Responseclj

(->Response this)
source

CoerceToSAMLObjectcljprotocol

->SAMLObjectclj

(->SAMLObject this)
source

CoerceToX509Certificatecljprotocol

->X509Certificateclj

(->X509Certificate this)

Coerce something such as a base-64-encoded string or byte array to a java.security.cert.X509Certificate. This class isn't used directly by OpenSAML; instead certificate must be coerced to an OpenSAML Credential. See ->Credential.

Coerce something such as a base-64-encoded string or byte array to a `java.security.cert.X509Certificate`. This
  class isn't used directly by OpenSAML; instead certificate must be coerced to an OpenSAML `Credential`. See
`->Credential`.
source

keystoreclj

(keystore {:keys [keystore filename password]})

Returns the provided keystore or opens a keystore from a file and password.

Returns the provided keystore or opens a keystore from a file and password.
sourceraw docstring

ring-request->HttpServletRequestSupplierclj

(ring-request->HttpServletRequestSupplier request)

Returns a NonnullSupplier<HttpServletRequest> object from a ring request map. Works as a compability shimS with OpenSAML.

Returns a NonnullSupplier<HttpServletRequest> object from a ring request map. Works as a compability shimS
with OpenSAML.
sourceraw docstring

ring-request->MessageContextclj

(ring-request->MessageContext request)

Returns an OpenSAML message context from a ring request map.

Returns an OpenSAML message context from a ring request map. 
sourceraw docstring

SerializeXMLStringcljprotocol

->xml-stringclj

(->xml-string this)
source

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

× close