com.healthmarketscience.jackcess.impl.office
Enum XmlEncryptionDescriptor.CipherAlgorithm

java.lang.Object
  extended by java.lang.Enum<XmlEncryptionDescriptor.CipherAlgorithm>
      extended by com.healthmarketscience.jackcess.impl.office.XmlEncryptionDescriptor.CipherAlgorithm
All Implemented Interfaces:
Serializable, Comparable<XmlEncryptionDescriptor.CipherAlgorithm>
Enclosing class:
XmlEncryptionDescriptor

public static enum XmlEncryptionDescriptor.CipherAlgorithm
extends Enum<XmlEncryptionDescriptor.CipherAlgorithm>


Enum Constant Summary
_3DES
           
_3DES112
           
AES
           
DES
           
RC2
           
RC4
           
 
Method Summary
 org.bouncycastle.crypto.BlockCipher initBlockCipher()
           
static XmlEncryptionDescriptor.CipherAlgorithm valueOf(String name)
          Returns the enum constant of this type with the specified name.
static XmlEncryptionDescriptor.CipherAlgorithm[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

AES

public static final XmlEncryptionDescriptor.CipherAlgorithm AES

RC2

public static final XmlEncryptionDescriptor.CipherAlgorithm RC2

RC4

public static final XmlEncryptionDescriptor.CipherAlgorithm RC4

DES

public static final XmlEncryptionDescriptor.CipherAlgorithm DES

_3DES

public static final XmlEncryptionDescriptor.CipherAlgorithm _3DES

_3DES112

public static final XmlEncryptionDescriptor.CipherAlgorithm _3DES112
Method Detail

values

public static XmlEncryptionDescriptor.CipherAlgorithm[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (XmlEncryptionDescriptor.CipherAlgorithm c : XmlEncryptionDescriptor.CipherAlgorithm.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static XmlEncryptionDescriptor.CipherAlgorithm valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

initBlockCipher

public org.bouncycastle.crypto.BlockCipher initBlockCipher()


Copyright © 2010-2017 Health Market Science. All Rights Reserved.