/**@class javax.crypto.spec.GCMParameterSpec implements java.security.spec.AlgorithmParameterSpec @extends java.lang.Object Specifies the set of parameters required by a {@link javax.crypto.Cipher} using the Galois/Counter Mode (GCM) mode. <p> Simple block cipher modes (such as CBC) generally require only an initialization vector (such as {@code IvParameterSpec}), but GCM needs these parameters: <ul> <li>{@code IV}: Initialization Vector (IV) </li> <li>{@code tLen}: length (in bits) of authentication tag T</li> </ul> <p> In addition to the parameters described here, other GCM inputs/output (Additional Authenticated Data (AAD), Keys, block ciphers, plain/ciphertext and authentication tags) are handled in the {@code Cipher} class. <p> Please see <a href="http://www.ietf.org/rfc/rfc5116.txt"> RFC 5116 </a> for more information on the Authenticated Encryption with Associated Data (AEAD) algorithm, and <a href= "http://csrc.nist.gov/publications/nistpubs/800-38D/SP-800-38D.pdf"> NIST Special Publication 800-38D</a>, "NIST Recommendation for Block Cipher Modes of Operation: Galois/Counter Mode (GCM) and GMAC." <p> The GCM specification states that {@code tLen} may only have the values {128, 120, 112, 104, 96}, or {64, 32} for certain applications. Other values can be specified for this class, but not all CSP implementations will support them. @see javax.crypto.Cipher @since 1.7 */ var GCMParameterSpec = { /**Returns the authentication tag length. @return {Number} the authentication tag length (in bits) */ getTLen : function( ) {}, /**Returns the Initialization Vector (IV). @return {Number} the IV. Creates a new array each time this method is called. */ getIV : function( ) {}, };