Uses of Class
se.swedenconnect.opensaml.saml2.metadata.build.KeyDescriptorBuilder
Package
Description
Classes for creating metadata elements using the builder pattern.
-
Uses of KeyDescriptorBuilder in se.swedenconnect.opensaml.saml2.metadata.build
Modifier and TypeMethodDescriptionstatic KeyDescriptorBuilder
KeyDescriptorBuilder.builder()
Utility method that creates a builder.KeyDescriptorBuilder.certificate
(InputStream certificate) Assigns an input stream to a certificate resource that is to be used as an X.509 data element of theKeyInfo
element within the key descriptor.KeyDescriptorBuilder.certificate
(String base64Encoding) Assigns a certificate (in Base64-encoded format) to be used as an X.509 data element of theKeyInfo
element within the key descriptor.KeyDescriptorBuilder.certificate
(X509Certificate certificate) Assigns a certificate to be used as an X.509 data element of theKeyInfo
element within the key descriptor.KeyDescriptorBuilder.certificate
(org.opensaml.security.x509.X509Credential credential) Assigns a certificate in OpenSAML credential format to be used as an X.509 data element of theKeyInfo
element within the key descriptor.KeyDescriptorBuilder.encryptionMethods
(String... algorithms) KeyDescriptorBuilder.encryptionMethods
(List<String> algorithms) Assigns a list of encryption methods.KeyDescriptorBuilder.encryptionMethods
(org.opensaml.saml.saml2.metadata.EncryptionMethod... algorithms) KeyDescriptorBuilder.encryptionMethodsExt
(List<org.opensaml.saml.saml2.metadata.EncryptionMethod> algorithms) Assigns a list of encryption methods.Assigns the key name of theKeyInfo
element within the key descriptor.KeyDescriptorBuilder.use
(org.opensaml.security.credential.UsageType usageType) Assigns the usage type for the key descriptor.