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

GET /api/lunasa/hsms/{hsmid}/partitions/{partitionid}/capabilities

Gets all capabilities associated with the partition.

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

Responses

200

A list of all capabilities associated with the partition. The list includes unique identifiers that can be used to get more specific information.

JSON Schema: Partition Capabilities

400

Unexpected error

404

HSM or partition does not exist.

Example Request

   GET 
  https://1.2.3.4:8443//api/lunasa/hsms/117290/partitions/273087011507/capabilities

Example Result

{
    "capabilities": [
        {
            "id": "0",
            "name": "Enable private key cloning",
            "url": "/api/lunasa/hsms/117290/partitions/273087011784/capabilities/0"
        },
        {
            "id": "1",
            "name": "Enable private key wrapping",
            "url": "/api/lunasa/hsms/117290/partitions/273087011784/capabilities/1"
        },
        {
            "id": "2",
            "name": "Enable private key unwrapping",
            "url": "/api/lunasa/hsms/117290/partitions/273087011784/capabilities/2"
        },
        {
            "id": "3",
            "name": "Enable private key masking",
            "url": "/api/lunasa/hsms/117290/partitions/273087011784/capabilities/3"
        },
        {
            "id": "4",
            "name": "Enable secret key cloning",
            "url": "/api/lunasa/hsms/117290/partitions/273087011784/capabilities/4"
        },
        {
            "id": "5",
            "name": "Enable secret key wrapping",
            "url": "/api/lunasa/hsms/117290/partitions/273087011784/capabilities/5"
        },
        {
            "id": "6",
            "name": "Enable secret key unwrapping",
            "url": "/api/lunasa/hsms/117290/partitions/273087011784/capabilities/6"
        },
        {
            "id": "7",
            "name": "Enable secret key masking",
            "url": "/api/lunasa/hsms/117290/partitions/273087011784/capabilities/7"
        },
        {
            "id": "10",
            "name": "Enable multipurpose keys",
            "url": "/api/lunasa/hsms/117290/partitions/273087011784/capabilities/10"
        },
        {
            "id": "11",
            "name": "Enable changing key attributes",
            "url": "/api/lunasa/hsms/117290/partitions/273087011784/capabilities/11"
        },
        {
            "id": "15",
            "name": "Allow failed challenge responses",
            "url": "/api/lunasa/hsms/117290/partitions/273087011784/capabilities/15"
        },
        {
            "id": "16",
            "name": "Enable operation without RSA blinding",
            "url": "/api/lunasa/hsms/117290/partitions/273087011784/capabilities/16"
        },
        {
            "id": "17",
            "name": "Enable signing with non-local keys",
            "url": "/api/lunasa/hsms/117290/partitions/273087011784/capabilities/17"
        },
        {
            "id": "18",
            "name": "Enable raw RSA operations",
            "url": "/api/lunasa/hsms/117290/partitions/273087011784/capabilities/18"
        },
        {
            "id": "20",
            "name": "Max failed user logins allowed",
            "url": "/api/lunasa/hsms/117290/partitions/273087011784/capabilities/20"
        },
        {
            "id": "21",
            "name": "Enable high availability recovery",
            "url": "/api/lunasa/hsms/117290/partitions/273087011784/capabilities/21"
        },
        {
            "id": "22",
            "name": "Enable activation",
            "url": "/api/lunasa/hsms/117290/partitions/273087011784/capabilities/22"
        },
        {
            "id": "23",
            "name": "Enable auto-activation",
            "url": "/api/lunasa/hsms/117290/partitions/273087011784/capabilities/23"
        },
        {
            "id": "25",
            "name": "Minimum pin length (inverted: 255 - min)",
            "url": "/api/lunasa/hsms/117290/partitions/273087011784/capabilities/25"
        },
        {
            "id": "26",
            "name": "Maximum pin length",
            "url": "/api/lunasa/hsms/117290/partitions/273087011784/capabilities/26"
        },
        {
            "id": "28",
            "name": "Enable Key Management Functions",
            "url": "/api/lunasa/hsms/117290/partitions/273087011784/capabilities/28"
        },
        {
            "id": "29",
            "name": "Enable RSA signing without confirmation",
            "url": "/api/lunasa/hsms/117290/partitions/273087011784/capabilities/29"
        },
        {
            "id": "30",
            "name": "Enable Remote Authentication",
            "url": "/api/lunasa/hsms/117290/partitions/273087011784/capabilities/30"
        },
        {
            "id": "31",
            "name": "Enable private key unmasking",
            "url": "/api/lunasa/hsms/117290/partitions/273087011784/capabilities/31"
        },
        {
            "id": "32",
            "name": "Enable secret key unmasking",
            "url": "/api/lunasa/hsms/117290/partitions/273087011784/capabilities/32"
        },
        {
            "id": "33",
            "name": "Enable RSA PKCS mechanism",
            "url": "/api/lunasa/hsms/117290/partitions/273087011784/capabilities/33"
        },
        {
            "id": "34",
            "name": "Enable CBC-PAD (un)wrap keys of any size",
            "url": "/api/lunasa/hsms/117290/partitions/273087011784/capabilities/34"
        },
        {
            "id": "35",
            "name": "Enable private key SFF backup/restore",
            "url": "/api/lunasa/hsms/117290/partitions/273087011784/capabilities/35"
        },
        {
            "id": "36",
            "name": "Enable secret key SFF backup/restore",
            "url": "/api/lunasa/hsms/117290/partitions/273087011784/capabilities/36"
        },
        {
            "id": "37",
            "name": "Enable Secure Trusted Channel",
            "url": "/api/lunasa/hsms/117290/partitions/273087011784/capabilities/37"
        }
    ]
}

See Also

GET /api/lunasa/hsms/{hsmid}/partitions/{partitionid}/capabilities/{capabilityid}