REST API  4.0.0
REST API for SafeNet Network HSMs
GET /api/lunasa/hsms/{hsmid}/partitions/{partitionid}/stc/ciphers

GET /api/lunasa/hsms/{hsmid}/partitions/{partitionid}/stc/ciphers

Gets the ciphers allowed for the secure trusted channel.

Parameters

hsmid

The serial number of the HSM of interest

Use: Required

JSON Schema:

   Object
   type: string

partitionid

The identifier of the partition of interest

Use: Required

JSON Schema:

   Object
   type: string

Query Parameters

display

Specifies which ciphers to query. Defined as "enabled", "disabled" or "all".

Use: Not required.

Responses

200

The secure trusted channel cipher suite.

JSON Schema: STC Ciphers

400

Unexpected error

404

HSM or partition does not exist.

Example Request

   GET 
   https://1.2.3.4:8443/api/lunasa/hsms/150607/partitions/350659181804/stc/ciphers

Example Result

{
    "ids": [
        "AES128_CBC",
        "AES192_CBC",
        "AES256_CBC"
    ]
}