Home > Contents > Index >
Expanded TOC   |    Accordion TOC   |    Annotated TOC   |    Index

 

Utilities.cryptoEnabled

Checks if encryption is enabled.

Syntax

Description

The cryptoEnabled method checks whether encryption is enabled. This requires that the encryption package be installed. cryptoEnabled should always return true, since an encryption package is included as part of ContentServer.

Returns

Returns true if encryption is enabled, false otherwise.

Example

The following code calls cryptoEnabled to ensure that encryption is enabled prior to encrypting a string.

See Also

decryptString

 

  Home > Contents > Index >

FatWire JAVA Reference
Copyright 2005 by FatWire Software
All rights reserved.