1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 package org.apache.wss4j.common.saml;
21
22 import java.security.PublicKey;
23 import java.security.cert.X509Certificate;
24
25
26
27
28 public class SAMLKeyInfo {
29
30
31
32
33 private X509Certificate[] certs;
34
35
36
37
38 private byte[] secret;
39
40
41
42
43 private PublicKey publicKey;
44
45 public SAMLKeyInfo() {
46 }
47
48 public SAMLKeyInfo(X509Certificate[] certs) {
49 this.certs = certs;
50 }
51
52 public SAMLKeyInfo(byte[] secret) {
53 this.secret = secret;
54 }
55
56 public SAMLKeyInfo(PublicKey publicKey) {
57 this.publicKey = publicKey;
58 }
59
60 public X509Certificate[] getCerts() {
61 return certs;
62 }
63
64 public void setCerts(X509Certificate[] certs) {
65 this.certs = certs;
66 }
67
68 public byte[] getSecret() {
69 return secret;
70 }
71
72 public void setSecret(byte[] secret) {
73 this.secret = secret;
74 }
75
76 public PublicKey getPublicKey() {
77 return this.publicKey;
78 }
79
80 public void setPublicKey(PublicKey publicKey) {
81 this.publicKey = publicKey;
82 }
83
84 }