(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) ;; -> ...
(->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.
(->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`.
(->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`.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close