Class SignatureType
- java.lang.Object
-
- com.helger.xsds.xmldsig.SignatureType
-
- All Implemented Interfaces:
com.helger.commons.lang.IExplicitlyCloneable,Serializable,Cloneable
@CodingStyleguideUnaware public class SignatureType extends Object implements Serializable, com.helger.commons.lang.IExplicitlyCloneable
Java class for SignatureType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SignatureType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{http://www.w3.org/2000/09/xmldsig#}SignedInfo"/> <element ref="{http://www.w3.org/2000/09/xmldsig#}SignatureValue"/> <element ref="{http://www.w3.org/2000/09/xmldsig#}KeyInfo" minOccurs="0"/> <element ref="{http://www.w3.org/2000/09/xmldsig#}Object" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> </restriction> </complexContent> </complexType>This class was annotated by ph-jaxb22-plugin -Xph-annotate
This class contains methods created by ph-jaxb22-plugin -Xph-equalshashcode
This class contains methods created by ph-jaxb22-plugin -Xph-tostring
This class contains methods created by ph-jaxb22-plugin -Xph-list-extension
This class contains methods created by ph-jaxb22-plugin -Xph-cloneable2
This class contains methods created by ph-jaxb22-plugin -Xph-value-extender
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SignatureType()Default constructor
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddObject(ObjectType elem)Created by ph-jaxb22-plugin -Xph-list-extensionSignatureTypeclone()Created by ph-jaxb22-plugin -Xph-cloneable2voidcloneTo(SignatureType ret)This method clones all values fromthisto the passed object.booleanequals(Object o)Created by ph-jaxb22-plugin -Xph-equalshashcodeStringgetId()Gets the value of the id property.KeyInfoTypegetKeyInfo()Gets the value of the keyInfo property.List<ObjectType>getObject()Gets the value of the object property.ObjectTypegetObjectAtIndex(int index)Created by ph-jaxb22-plugin -Xph-list-extensionintgetObjectCount()Created by ph-jaxb22-plugin -Xph-list-extensionSignatureValueTypegetSignatureValue()Gets the value of the signatureValue property.byte[]getSignatureValueValue()Get the value of the contained SignatureValueType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extenderSignedInfoTypegetSignedInfo()Gets the value of the signedInfo property.inthashCode()Created by ph-jaxb22-plugin -Xph-equalshashcodebooleanhasNoObjectEntries()Created by ph-jaxb22-plugin -Xph-list-extensionbooleanhasObjectEntries()Created by ph-jaxb22-plugin -Xph-list-extensionvoidsetId(String value)Sets the value of the id property.voidsetKeyInfo(KeyInfoType value)Sets the value of the keyInfo property.voidsetObject(List<ObjectType> aList)Created by ph-jaxb22-plugin -Xph-list-extensionSignatureValueTypesetSignatureValue(byte[] valueParam)Special setter with value of type byte[]
Note: automatically created by ph-jaxb22-plugin -Xph-value-extendervoidsetSignatureValue(SignatureValueType value)Sets the value of the signatureValue property.voidsetSignedInfo(SignedInfoType value)Sets the value of the signedInfo property.StringtoString()Created by ph-jaxb22-plugin -Xph-tostring
-
-
-
Method Detail
-
getSignedInfo
@Nullable public SignedInfoType getSignedInfo()
Gets the value of the signedInfo property.- Returns:
- possible object is
SignedInfoType
-
setSignedInfo
public void setSignedInfo(@Nullable SignedInfoType value)
Sets the value of the signedInfo property.- Parameters:
value- allowed object isSignedInfoType
-
getSignatureValue
@Nullable public SignatureValueType getSignatureValue()
Gets the value of the signatureValue property.- Returns:
- possible object is
SignatureValueType
-
setSignatureValue
public void setSignatureValue(@Nullable SignatureValueType value)
Sets the value of the signatureValue property.- Parameters:
value- allowed object isSignatureValueType
-
getKeyInfo
@Nullable public KeyInfoType getKeyInfo()
Gets the value of the keyInfo property.- Returns:
- possible object is
KeyInfoType
-
setKeyInfo
public void setKeyInfo(@Nullable KeyInfoType value)
Sets the value of the keyInfo property.- Parameters:
value- allowed object isKeyInfoType
-
getObject
@Nonnull @ReturnsMutableObject("JAXB implementation style") public List<ObjectType> getObject()
Gets the value of the object 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
setmethod for the object property.For example, to add a new item, do as follows:
getObject().add(newItem);Objects of the following type(s) are allowed in the list
ObjectType
-
getId
@Nullable public String getId()
Gets the value of the id property.- Returns:
- possible object is
String
-
setId
public void setId(@Nullable String value)
Sets the value of the id property.- Parameters:
value- allowed object isString
-
equals
public boolean equals(Object o)
Created by ph-jaxb22-plugin -Xph-equalshashcode
-
hashCode
public int hashCode()
Created by ph-jaxb22-plugin -Xph-equalshashcode
-
toString
public String toString()
Created by ph-jaxb22-plugin -Xph-tostring
-
setObject
public void setObject(@Nullable List<ObjectType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension- Parameters:
aList- The new list member to set. May benull.
-
hasObjectEntries
public boolean hasObjectEntries()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
trueif at least one item is contained,falseotherwise.
-
hasNoObjectEntries
public boolean hasNoObjectEntries()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
trueif no item is contained,falseotherwise.
-
getObjectCount
@Nonnegative public int getObjectCount()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
- The number of contained elements. Always ≥ 0.
-
getObjectAtIndex
@Nullable public ObjectType getObjectAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
Created by ph-jaxb22-plugin -Xph-list-extension- Parameters:
index- The index to retrieve- Returns:
- The element at the specified index. May be
null - Throws:
IndexOutOfBoundsException- if the index is invalid!
-
addObject
public void addObject(@Nonnull ObjectType elem)
Created by ph-jaxb22-plugin -Xph-list-extension- Parameters:
elem- The element to be added. May not benull.
-
cloneTo
public void cloneTo(@Nonnull SignatureType ret)
This method clones all values fromthisto the passed object. All data in the parameter object is overwritten!Created by ph-jaxb22-plugin -Xph-cloneable2- Parameters:
ret- The target object to clone to. May not benull.
-
clone
@Nonnull @ReturnsMutableCopy public SignatureType clone()
Created by ph-jaxb22-plugin -Xph-cloneable2
-
setSignatureValue
@Nonnull public SignatureValueType setSignatureValue(@Nullable byte[] valueParam)
Special setter with value of type byte[]
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender- Parameters:
valueParam- The value to be set. May benull.- Returns:
- The created intermediary object of type SignatureValueType and never
null
-
getSignatureValueValue
@Nullable public byte[] getSignatureValueValue()
Get the value of the contained SignatureValueType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender- Returns:
- Either the value of the contained SignatureValueType object or
null
-
-