blob: 22446357bb10dff95d46a1eee276bbf97797f1c3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
package x509bundle
import (
"github.com/spiffe/go-spiffe/v2/spiffeid"
)
// Source represents a source of X.509 bundles keyed by trust domain.
type Source interface {
// GetX509BundleForTrustDomain returns the X.509 bundle for the given trust
// domain.
GetX509BundleForTrustDomain(trustDomain spiffeid.TrustDomain) (*Bundle, error)
}
|