     public var digestAlgorithmName: String? {
         return ASN1Object.oidDecodeMap[digestAlgorithm ?? ""] ?? digestAlgorithm
     }
-    
-    
+
     public var certificate: X509Certificate? {
         if let blockSigner = mainBlock.sub(3)?.sub, blockSigner.count > 0  {
             return X509Certificate(asn1: blockSigner[0])

            throw PKCS7Error.notSupported
        }
    }
    
    
    
    public var digestAlgorithm: String? {
        if let block = mainBlock.sub(1) {
            return firstLeafValue(block: block) as? String

    }
    return block.value
}
