com.edustructures.sifworks.infra
Class EncryptionLevel

java.lang.Object
  extended by com.edustructures.sifworks.SIFSimpleType<java.lang.String>
      extended by com.edustructures.sifworks.SIFString
          extended by com.edustructures.sifworks.SIFEnum
              extended by com.edustructures.sifworks.infra.EncryptionLevel
All Implemented Interfaces:
java.io.Serializable

public class EncryptionLevel
extends SIFEnum

Defines the set of values that can be specified whenever an EncryptionLevel is used as a parameter to a method or constructor. Alternatively, the static wrap method can be called to encapsulate any string value in an EncryptionLevel object.

Since:
1.5r1
Version:
2.0
See Also:
Serialized Form

Field Summary
static EncryptionLevel FOUR
          Symmetric key length of at least 128 bits is to be used ("4")
static EncryptionLevel ONE
          Symmetric key length of at least 40 bits is to be used ("1")
static EncryptionLevel THREE
          Symmetric key length of at least 80 bits is to be used ("3")
static EncryptionLevel TWO
          Symmetric key length of at least 56 bits is to be used ("2")
static EncryptionLevel ZERO
          No encryption required ("0")
 
Method Summary
static EncryptionLevel wrap(java.lang.String value)
          Wrap an arbitrary string value in an EncryptionLevel object.
 
Methods inherited from class com.edustructures.sifworks.SIFString
getTypeConverter, isDoNotEncode
 
Methods inherited from class com.edustructures.sifworks.SIFSimpleType
createField, equals, getDataType, getSQLType, getValue, hashCode, toString, toString, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

TWO

public static final EncryptionLevel TWO
Symmetric key length of at least 56 bits is to be used ("2")


ZERO

public static final EncryptionLevel ZERO
No encryption required ("0")


FOUR

public static final EncryptionLevel FOUR
Symmetric key length of at least 128 bits is to be used ("4")


ONE

public static final EncryptionLevel ONE
Symmetric key length of at least 40 bits is to be used ("1")


THREE

public static final EncryptionLevel THREE
Symmetric key length of at least 80 bits is to be used ("3")

Method Detail

wrap

public static EncryptionLevel wrap(java.lang.String value)
Wrap an arbitrary string value in an EncryptionLevel object.

Parameters:
value - The element/attribute value. This method does not verify that the value is valid according to the SIF Specification.


Copyright © 2001-2007 Edustructures LLC. All Rights Reserved. SIFWorks® and ADK® are registered trademarks of Edustructures LLC. SIF™ and Schools Interoperability Framework are trademarks of the Schools Interoperability Framework Association.