XML Security, 1.6

javax.xml.crypto.enc
Interface ToBeEncryptedXML

All Superinterfaces:
ToBeEncrypted
All Known Implementing Classes:
DOMToBeEncryptedXML

public interface ToBeEncryptedXML
extends ToBeEncrypted

A representation of a ToBeEncrypted class that contains a XML Element or content of an Element


Method Summary
 CanonicalizationMethod getCanonicalizationMethod()
          Returns the canonicalization method
 java.lang.String getEncoding()
          Returns a URI identifying the transfer encoding of the data that has been encrypted.
 java.lang.String getMimeType()
          Returns the mime type of the data that has been encrypted.
 java.lang.String getType()
          Returns the URI identifying the type of the plaintext form of the encrypted content.
 

Method Detail

getCanonicalizationMethod

CanonicalizationMethod getCanonicalizationMethod()
Returns the canonicalization method

Returns:
the canonicalization method. null if not specified

getType

java.lang.String getType()
Returns the URI identifying the type of the plaintext form of the encrypted content.

Specified by:
getType in interface ToBeEncrypted
Returns:
the type, or null if not specified

getMimeType

java.lang.String getMimeType()
Returns the mime type of the data that has been encrypted.

Specified by:
getMimeType in interface ToBeEncrypted
Returns:
the mime type, or null if not specified

getEncoding

java.lang.String getEncoding()
Returns a URI identifying the transfer encoding of the data that has been encrypted.

Specified by:
getEncoding in interface ToBeEncrypted
Returns:
the encoding, or null if not specified

XML Security, 1.6

Portions Copyright 2003, 2012 IBM Corporation.
Portions Copyright 2003, 2012 Oracle and/or its affiliates.