saml-kit 1.0.13 → 1.0.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/saml/kit/configuration.rb +1 -1
- data/lib/saml/kit/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 722bb4a5e235e4a45f9c86d0ac1c8b30edc5a60a566505eb37444a0500a019cb
|
4
|
+
data.tar.gz: 6f71d05bb0f8d45f98967310be6443b79af9e7ffa8a07847ed90500553ccc231
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 76d07338515edd92a7a75f8d2a51f8657ed066883823d963371d057ad7ac5184ccdeed8321a2d23da469d31eb11138bc80784b59c3001c49fe9ac28eb6949bf7
|
7
|
+
data.tar.gz: d122611de90c1bbc2636d7a3758cab04a4cc7e0d7ea4d7b87fa42d612714f49ec3672b775292e3bed5cc9bda431414213791cfd042719a03f937ef13d112831c
|
@@ -55,7 +55,7 @@ module Saml
|
|
55
55
|
# @param private_key [String] the plain text private key.
|
56
56
|
# @param passphrase [String] the password to decrypt the private key.
|
57
57
|
# @param use [Symbol] the type of key pair, `:signing` or `:encryption`
|
58
|
-
def add_key_pair(certificate, private_key, passphrase:
|
58
|
+
def add_key_pair(certificate, private_key, passphrase: nil, use: :signing)
|
59
59
|
ensure_proper_use!(use)
|
60
60
|
@key_pairs.push(::Xml::Kit::KeyPair.new(certificate, private_key, passphrase, use.to_sym))
|
61
61
|
end
|
data/lib/saml/kit/version.rb
CHANGED