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) ;; -> ...
raw 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.

CoerceToElementcljprotocol

->Elementclj

(->Element this)

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`.

CoerceToResponsecljprotocol

->Responseclj

(->Response this)

CoerceToSAMLObjectcljprotocol

->SAMLObjectclj

(->SAMLObject this)

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`.

keystoreclj

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

SerializeXMLStringcljprotocol

->xml-stringclj

(->xml-string this)

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

× close