Uses of Class
se.swedenconnect.opensaml.saml2.metadata.build.KeyDescriptorBuilder
Packages that use KeyDescriptorBuilder
Package
Description
Classes for creating metadata elements using the builder pattern.
-
Uses of KeyDescriptorBuilder in se.swedenconnect.opensaml.saml2.metadata.build
Methods in se.swedenconnect.opensaml.saml2.metadata.build that return KeyDescriptorBuilderModifier and TypeMethodDescriptionstatic KeyDescriptorBuilderKeyDescriptorBuilder.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 theKeyInfoelement 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 theKeyInfoelement within the key descriptor.KeyDescriptorBuilder.certificate(X509Certificate certificate) Assigns a certificate to be used as an X.509 data element of theKeyInfoelement within the key descriptor.KeyDescriptorBuilder.certificate(X509Credential credential) Assigns a certificate in OpenSAML credential format to be used as an X.509 data element of theKeyInfoelement within the key descriptor.KeyDescriptorBuilder.encryptionMethods(String... algorithms) KeyDescriptorBuilder.encryptionMethods(List<String> algorithms) Assigns a list of encryption methods.KeyDescriptorBuilder.encryptionMethods(EncryptionMethod... algorithms) KeyDescriptorBuilder.encryptionMethodsExt(List<EncryptionMethod> algorithms) Assigns a list of encryption methods.Assigns the key name of theKeyInfoelement within the key descriptor.Assigns the usage type for the key descriptor.