Class DigestedData


  • public class DigestedData
    extends Object
    Definition: Cryptographic Message Syntax (CMS) data structure containing digested data -- Reference: RFC 3852: Cryptographic Message Syntax (CMS) -- Usage: This data structure contains: the version of the data structure the identifiers of the messageType digest algorithms the encapsulated content the digested data

    Java class for DigestedData complex type.

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

     <complexType name="DigestedData">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="DigestAlgorithm" type="{}AlgorithmIdentifier"/>
             <element name="EncapsulatedContent" type="{}EncapsulatedContent"/>
             <element name="Digest" type="{}Digest"/>
           </sequence>
           <attribute name="Version" type="{}VersionType" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Detail

      • encapsulatedContent

        protected EncapsulatedContent encapsulatedContent
        The Encapsulated content.
      • digest

        protected byte[] digest
        The Digest.
    • Constructor Detail

      • DigestedData

        public DigestedData()
    • Method Detail

      • setDigestAlgorithm

        public void setDigestAlgorithm​(AlgorithmIdentifier value)
        Sets the value of the digestAlgorithm property.
        Parameters:
        value - allowed object is AlgorithmIdentifier
      • setEncapsulatedContent

        public void setEncapsulatedContent​(EncapsulatedContent value)
        Sets the value of the encapsulatedContent property.
        Parameters:
        value - allowed object is EncapsulatedContent
      • getDigest

        public byte[] getDigest()
        Gets the value of the digest property.
        Returns:
        possible object is byte[]
      • setDigest

        public void setDigest​(byte[] value)
        Sets the value of the digest property.
        Parameters:
        value - allowed object is byte[]
      • getVersion

        public VersionType getVersion()
        Gets the value of the version property.
        Returns:
        possible object is VersionType
      • setVersion

        public void setVersion​(VersionType value)
        Sets the value of the version property.
        Parameters:
        value - allowed object is VersionType