Class PrivateKeyProtectionType

java.lang.Object
org.keycloak.dom.saml.v2.ac.PrivateKeyProtectionType

public class PrivateKeyProtectionType extends Object

Java class for PrivateKeyProtectionType complex type.

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

 <complexType name="PrivateKeyProtectionType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{urn:oasis:names:tc:SAML:2.0:ac}KeyActivation" minOccurs="0"/>
         <element ref="{urn:oasis:names:tc:SAML:2.0:ac}KeyStorage" minOccurs="0"/>
         <element ref="{urn:oasis:names:tc:SAML:2.0:ac}KeySharing" minOccurs="0"/>
         <element ref="{urn:oasis:names:tc:SAML:2.0:ac}Extension" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • PrivateKeyProtectionType

      public PrivateKeyProtectionType()
  • Method Details

    • getKeyActivation

      public KeyActivationType getKeyActivation()
      Gets the value of the keyActivation property.
      Returns:
      possible object is KeyActivationType
    • setKeyActivation

      public void setKeyActivation(KeyActivationType value)
      Sets the value of the keyActivation property.
      Parameters:
      value - allowed object is KeyActivationType
    • getKeyStorage

      public KeyStorageType getKeyStorage()
      Gets the value of the keyStorage property.
      Returns:
      possible object is KeyStorageType
    • setKeyStorage

      public void setKeyStorage(KeyStorageType value)
      Sets the value of the keyStorage property.
      Parameters:
      value - allowed object is KeyStorageType
    • getKeySharing

      public KeySharingType getKeySharing()
      Gets the value of the keySharing property.
      Returns:
      possible object is KeySharingType
    • setKeySharing

      public void setKeySharing(KeySharingType value)
      Sets the value of the keySharing property.
      Parameters:
      value - allowed object is KeySharingType
    • getExtension

      public List<ExtensionType> getExtension()
      Gets the value of the extension property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the extension property.

      For example, to add a new item, do as follows:

       getExtension().add(newItem);
       

      Objects of the following type(s) are allowed in the list ExtensionType