private Attribute toAttribute(final FailInfo failInfo) {
        ASN1ObjectIdentifier oid = toOid(FAIL_INFO.id());

        return new Attribute(oid, new DERSet(new DERPrintableString(
                Integer.toString(failInfo.getValue()))));
    }
private Attribute toAttribute ( final FailInfo failInfo ) { ASN1ObjectIdentifier oid = toOid ( FAIL_INFO . id ( ) ) ; return new Attribute ( oid , new DERSet ( new DERPrintableString ( Integer . toString ( failInfo . getValue ( ) ) ) ) ) ; }
@param failInfo
the failure reason to convert.
@return the converted attribute.