Class TrustManagersType

java.lang.Object
org.apache.cxf.configuration.security.TrustManagersType

public class TrustManagersType extends Object
This structure contains the specification of JSSE TrustManagers for a single Keystore used for trusted certificates.

Java class for TrustManagersType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="TrustManagersType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <choice>
         <element name="keyStore" type="{http://cxf.apache.org/configuration/security}KeyStoreType" minOccurs="0"/>
         <element name="certStore" type="{http://cxf.apache.org/configuration/security}CertStoreType" minOccurs="0"/>
       </choice>
       <attribute name="provider" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="factoryAlgorithm" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="ref" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • keyStore

      protected KeyStoreType keyStore
      This element contains the KeyStore used as a trust store.
    • certStore

      protected CertStoreType certStore
      This element contains the CertStore used as a trust store.
    • provider

      protected String provider
      This attribute contains the KeyManagers provider name.
    • factoryAlgorithm

      protected String factoryAlgorithm
      This attribute contains the algorithm the KeyManagers Factory will use in creating the KeyManagers from the KeyStore. Most common examples are "PKIX".
    • ref

      protected String ref
      This attribute contains the reference to the TrustManagers bean. This attribute allows the TrustManagers instance to be constructed by other means and referenced from this object.
  • Constructor Details

    • TrustManagersType

      public TrustManagersType()
  • Method Details

    • getKeyStore

      public KeyStoreType getKeyStore()
      Gets the value of the keyStore property.

      This element contains the KeyStore used as a trust store.

      Returns:
      possible object is KeyStoreType
    • setKeyStore

      public void setKeyStore(KeyStoreType value)
      Sets the value of the keyStore property.
      Parameters:
      value - allowed object is KeyStoreType
      See Also:
    • isSetKeyStore

      public boolean isSetKeyStore()
    • getCertStore

      public CertStoreType getCertStore()
      Gets the value of the certStore property.

      This element contains the CertStore used as a trust store.

      Returns:
      possible object is CertStoreType
    • setCertStore

      public void setCertStore(CertStoreType value)
      Sets the value of the certStore property.
      Parameters:
      value - allowed object is CertStoreType
      See Also:
    • isSetCertStore

      public boolean isSetCertStore()
    • getProvider

      public String getProvider()
      Gets the value of the provider property.

      This attribute contains the KeyManagers provider name.

      Returns:
      possible object is String
    • setProvider

      public void setProvider(String value)
      Sets the value of the provider property.
      Parameters:
      value - allowed object is String
      See Also:
    • isSetProvider

      public boolean isSetProvider()
    • getFactoryAlgorithm

      public String getFactoryAlgorithm()
      Gets the value of the factoryAlgorithm property.

      This attribute contains the algorithm the KeyManagers Factory will use in creating the KeyManagers from the KeyStore. Most common examples are "PKIX".

      Returns:
      possible object is String
    • setFactoryAlgorithm

      public void setFactoryAlgorithm(String value)
      Sets the value of the factoryAlgorithm property.
      Parameters:
      value - allowed object is String
      See Also:
    • isSetFactoryAlgorithm

      public boolean isSetFactoryAlgorithm()
    • getRef

      public String getRef()
      Gets the value of the ref property.

      This attribute contains the reference to the TrustManagers bean. This attribute allows the TrustManagers instance to be constructed by other means and referenced from this object.

      Returns:
      possible object is String
    • setRef

      public void setRef(String value)
      Sets the value of the ref property.
      Parameters:
      value - allowed object is String
      See Also:
    • isSetRef

      public boolean isSetRef()