TrustManagersType (Apache CXF JavaDoc 3.0.4.redhat-621177 API)

org.apache.cxf.configuration.security

## 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 Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected CertStoreType` | `certStore` This element contains the CertStore used as a trust store.
    `protected String` | `factoryAlgorithm` This attribute contains the algorithm the KeyManagers Factory will use in creating the KeyManagers from the KeyStore.
    `protected KeyStoreType` | `keyStore` This element contains the KeyStore used as a trust store.
    `protected String` | `provider` This attribute contains the KeyManagers provider name.
    `protected String` | `ref` This attribute contains the reference to the TrustManagers bean.

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `TrustManagersType()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `CertStoreType` | `getCertStore()` Gets the value of the certStore property.
    `String` | `getFactoryAlgorithm()` Gets the value of the factoryAlgorithm property.
    `KeyStoreType` | `getKeyStore()` Gets the value of the keyStore property.
    `String` | `getProvider()` Gets the value of the provider property.
    `String` | `getRef()` Gets the value of the ref property.
    `boolean` | `isSetCertStore()`
    `boolean` | `isSetFactoryAlgorithm()`
    `boolean` | `isSetKeyStore()`
    `boolean` | `isSetProvider()`
    `boolean` | `isSetRef()`
    `void` | `setCertStore(CertStoreType value)` Sets the value of the certStore property.
    `void` | `setFactoryAlgorithm(String value)` Sets the value of the factoryAlgorithm property.
    `void` | `setKeyStore(KeyStoreType value)` Sets the value of the keyStore property.
    `void` | `setProvider(String value)` Sets the value of the provider property.
    `void` | `setRef(String value)` Sets the value of the ref property.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### 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 Detail

    - #### TrustManagersType

          public TrustManagersType()

  - ### Method Detail

    - #### 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:
        `getKeyStore()`

    - #### 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:
        `getCertStore()`

    - #### 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:
        `getProvider()`

    - #### 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:
        `getFactoryAlgorithm()`

    - #### 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:
        `getRef()`

    - #### isSetRef

          public boolean isSetRef()

Apache CXF