javax.xml.crypto.enc

Interface CipherValue

All Superinterfaces:
CipherData, XMLStructure

  1. public interface CipherValue
  2. extends CipherData
A representation of the XML CipherValue element as defined in the W3C Recommendation for XML-Encryption Syntax and Processing. It contains the BASE64 encoded encrypted value of the EncryptedType.

Method Summary

Modifier and Type Method and Description
  1. byte[]
getValue()
Returns the encrypted data.
Methods inherited from interface javax.xml.crypto.XMLStructure
isFeatureSupported

Method Detail

getValue

  1. byte[] getValue()
Returns the encrypted data. Each invocation of this method returns a clone of the data, to protect against subsequent modification.
Returns:
the encrypted data