             kSecValueRef: certificate,
             kSecAttrLabel: certificateLabel,
             kSecAttrAccessible: kSecAttrAccessibleWhenUnlockedThisDeviceOnly,
-        ]
+            ]
         let addStatus:OSStatus = SecItemAdd(setQuery, nil)
         
         guard addStatus == errSecSuccess else {

            kSecAttrService: label,
            kSecValueData: stringData
        ]
        let status = SecItemAdd(key, nil)
        
        return status == errSecSuccess
        
    }
    internal static func removeItemFromKeyChain(label: String) -> Bool{
        

        let digestlen = digest.length
        
        let signStatus:OSStatus = SecKeyRawSign(privateKey, SecPadding.PKCS1SHA256, digestBytes, digestlen, UnsafeMutablePointer<UInt8>(signedData.mutableBytes),
                                                &signedDataLength)
        
        guard signStatus == errSecSuccess else {
            throw BMSSecurityError.generalError
