Name

xenc_key_exists — Check if named encryption key is in the user's repository

Synopsis

int xenc_key_exists ( in name varchar );

Description

The function checks if key with given name exists in the user's keys.

Parameters

name

The name of the key

Return Types

The function returns integer 1 - true or 0 - false (zero) if key exists or not

Examples

Example24.473.Simple Use

SQL> select xenc_key_exists ('MyKey');
VARCHAR
_______________________________________________________________________________

0

1 Rows. -- 1 msec.